/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: Martin Pool
  • Date: 2008-05-27 03:00:53 UTC
  • mfrom: (3452 +trunk)
  • mto: (3724.1.1 lock-hooks)
  • mto: This revision was merged to the branch mainline in revision 3730.
  • Revision ID: mbp@sourcefrog.net-20080527030053-0mct6dypek0ysjc3
merge trunk

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