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',
32
36
'bzrlib.tests.blackbox.test_ancestry',
33
37
'bzrlib.tests.blackbox.test_cat',
38
'bzrlib.tests.blackbox.test_checkout',
39
'bzrlib.tests.blackbox.test_commit',
34
40
'bzrlib.tests.blackbox.test_diff',
35
41
'bzrlib.tests.blackbox.test_export',
36
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',
37
47
'bzrlib.tests.blackbox.test_missing',
38
48
'bzrlib.tests.blackbox.test_outside_wt',
39
49
'bzrlib.tests.blackbox.test_pull',
50
'bzrlib.tests.blackbox.test_re_sign',
40
51
'bzrlib.tests.blackbox.test_revert',
41
52
'bzrlib.tests.blackbox.test_revno',
42
53
'bzrlib.tests.blackbox.test_revision_info',
43
54
'bzrlib.tests.blackbox.test_selftest',
55
'bzrlib.tests.blackbox.test_sign_my_commits',
44
56
'bzrlib.tests.blackbox.test_status',
45
57
'bzrlib.tests.blackbox.test_too_much',
58
'bzrlib.tests.blackbox.test_update',
46
59
'bzrlib.tests.blackbox.test_upgrade',
47
60
'bzrlib.tests.blackbox.test_versioning',
49
return TestLoader().loadTestsFromNames(testmod_names)
52
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):
54
73
def runbzr(self, args, retcode=0, backtick=False):
55
74
if isinstance(args, basestring):