/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Andrew Bennetts
  • Date: 2008-09-08 12:59:00 UTC
  • mfrom: (3695 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3756.
  • Revision ID: andrew.bennetts@canonical.com-20080908125900-8ywtsr7jqyyatjz0
Merge from 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