Mercurial > hgsubversion
comparison tests/run.py @ 316:c3c647aff97c
Merge with danchr's changes.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sun, 03 May 2009 21:44:53 -0500 |
parents | ce676eff002b |
children | 46e69be8e2c8 |
comparison
equal
deleted
inserted
replaced
315:963d27a0b1c2 | 316:c3c647aff97c |
---|---|
47 test_utility_commands.suite(), | 47 test_utility_commands.suite(), |
48 test_urls.suite(), | 48 test_urls.suite(), |
49 ]) | 49 ]) |
50 | 50 |
51 if __name__ == '__main__': | 51 if __name__ == '__main__': |
52 runner = unittest.TextTestRunner() | 52 kwargs = { 'descriptions': 2 } |
53 if '-v' in sys.argv: | |
54 kwargs['descriptions'] = 3 | |
55 kwargs['verbosity'] = 2 | |
56 | |
57 runner = unittest.TextTestRunner(**kwargs) | |
53 runner.run(suite()) | 58 runner.run(suite()) |