~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/commands/__init__.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
# FIXME: If the separation described above from the blackbox tests is not worth
25
25
# it, all the tests defined below should be moved to blackbox instead. 
26
26
 
27
 
from bzrlib.tests import TestLoader
28
 
 
29
 
 
30
 
def test_suite():
 
27
def load_tests(basic_tests, module, loader):
 
28
    suite = loader.suiteClass()
 
29
    # add the tests for this module
 
30
    suite.addTests(basic_tests)
 
31
 
31
32
    testmod_names = [
32
33
        'bzrlib.tests.commands.test_branch',
33
34
        'bzrlib.tests.commands.test_cat',
41
42
        'bzrlib.tests.commands.test_push',
42
43
        'bzrlib.tests.commands.test_update',
43
44
        ]
44
 
    loader = TestLoader()
45
 
    suite = loader.loadTestsFromModuleNames(testmod_names)
 
45
    # add the tests for the sub modules
 
46
    suite.addTests(loader.loadTestsFromModuleNames(testmod_names))
46
47
 
47
48
    return suite