Mercurial > hgsubversion
comparison tests/run.py @ 426:72e63999722f
tests: make comprehensive tests work properly with nose and run.py
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 15 Jun 2009 12:26:20 -0500 |
parents | 636e9bf5d49c |
children | f3e5ef8760cb |
comparison
equal
deleted
inserted
replaced
425:f5222d021665 | 426:72e63999722f |
---|---|
23 import test_svnwrap | 23 import test_svnwrap |
24 import test_tags | 24 import test_tags |
25 import test_utility_commands | 25 import test_utility_commands |
26 import test_urls | 26 import test_urls |
27 | 27 |
28 from comprehensive import test_stupid_pull | 28 sys.path.append(os.path.join(os.path.dirname(__file__), 'comprehensive')) |
29 from comprehensive import test_verify | 29 |
30 import test_stupid_pull | |
31 import test_verify | |
30 | 32 |
31 def comprehensive(mod): | 33 def comprehensive(mod): |
32 dir = os.path.basename(os.path.dirname(mod.__file__)) | 34 dir = os.path.basename(os.path.dirname(mod.__file__)) |
33 return dir == 'comprehensive' | 35 return dir == 'comprehensive' |
34 | 36 |