comparison tests/run.py @ 16:48a44546c12f

Add a basic system for running the hgsubversion tests (although not the svnwrap ones) without requiring Nose. Nose is still the recommended way to run the tests. Also added some tests for pushing.
author Augie Fackler <durin42@gmail.com>
date Tue, 07 Oct 2008 22:13:14 -0500
parents
children 31aa63ac778c
comparison
equal deleted inserted replaced
15:db32dee803a8 16:48a44546c12f
1 import os
2 import sys
3 import unittest
4
5 sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
6
7 import test_fetch_command
8 import test_fetch_command_regexes
9 import test_push_command
10
11 def suite():
12 return unittest.TestSuite([test_fetch_command.suite(),
13 test_fetch_command_regexes.suite(),
14 test_fetch_command_regexes.suite(),
15 ])
16
17 if __name__ == '__main__':
18 runner = unittest.TextTestRunner()
19 runner.run(suite())