comparison tests/run.py @ 303:f423a8780832

Minor tweaks to how the tests are run.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 27 Mar 2009 03:42:52 +0100
parents f80132c5fea5
children ce676eff002b
comparison
equal deleted inserted replaced
302:827d4702a3b3 303:f423a8780832
43 test_tags.suite(), 43 test_tags.suite(),
44 test_utility_commands.suite(), 44 test_utility_commands.suite(),
45 ]) 45 ])
46 46
47 if __name__ == '__main__': 47 if __name__ == '__main__':
48 runner = unittest.TextTestRunner() 48 kwargs = { 'descriptions': 2 }
49 if '-v' in sys.argv:
50 kwargs['descriptions'] = 3
51 kwargs['verbosity'] = 2
52
53 runner = unittest.TextTestRunner(**kwargs)
49 runner.run(suite()) 54 runner.run(suite())