23
23
rather starts again from the run_bzr function.
26
from bzrlib.tests import TestLoader
27
from bzrlib.tests import TestCaseInTempDir, BzrTestBase
26
from bzrlib.tests import (
28
TestCaseWithTransport,
31
35
'bzrlib.tests.blackbox.test_added',
36
'bzrlib.tests.blackbox.test_ancestry',
32
37
'bzrlib.tests.blackbox.test_cat',
38
'bzrlib.tests.blackbox.test_checkout',
39
'bzrlib.tests.blackbox.test_commit',
33
40
'bzrlib.tests.blackbox.test_diff',
34
41
'bzrlib.tests.blackbox.test_export',
42
'bzrlib.tests.blackbox.test_find_merge_base',
43
'bzrlib.tests.blackbox.test_help',
44
'bzrlib.tests.blackbox.test_info',
45
'bzrlib.tests.blackbox.test_log',
46
'bzrlib.tests.blackbox.test_logformats',
35
47
'bzrlib.tests.blackbox.test_missing',
36
48
'bzrlib.tests.blackbox.test_outside_wt',
37
49
'bzrlib.tests.blackbox.test_pull',
50
'bzrlib.tests.blackbox.test_re_sign',
38
51
'bzrlib.tests.blackbox.test_revert',
39
52
'bzrlib.tests.blackbox.test_revno',
40
53
'bzrlib.tests.blackbox.test_revision_info',
41
54
'bzrlib.tests.blackbox.test_selftest',
55
'bzrlib.tests.blackbox.test_sign_my_commits',
42
56
'bzrlib.tests.blackbox.test_status',
43
57
'bzrlib.tests.blackbox.test_too_much',
58
'bzrlib.tests.blackbox.test_update',
44
59
'bzrlib.tests.blackbox.test_upgrade',
45
60
'bzrlib.tests.blackbox.test_versioning',
47
return TestLoader().loadTestsFromNames(testmod_names)
50
class ExternalBase(TestCaseInTempDir):
65
for mod_name in testmod_names:
66
mod = _load_module_by_name(mod_name)
67
suite.addTest(loader.loadTestsFromModule(mod))
71
class ExternalBase(TestCaseWithTransport):
52
73
def runbzr(self, args, retcode=0, backtick=False):
53
74
if isinstance(args, basestring):