~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2006-05-16 06:45:43 UTC
  • mto: (1713.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 1714.
  • Revision ID: robertc@robertcollins.net-20060516064543-5cb7cc63047ba98b
Start on bench_add, an add benchtest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import sys
27
27
 
28
28
from bzrlib.tests import (
29
 
                          _load_module_by_name,
30
29
                          TestCaseWithTransport,
31
30
                          TestSuite,
32
31
                          TestLoader,
75
74
                     'bzrlib.tests.blackbox.test_versioning',
76
75
                     ]
77
76
 
78
 
    suite = TestSuite()
79
77
    loader = TestLoader()
80
 
    for mod_name in testmod_names:
81
 
        mod = _load_module_by_name(mod_name)
82
 
        suite.addTest(loader.loadTestsFromModule(mod))
83
 
    return suite
 
78
    return loader.loadTestsFromModuleNames(testmod_names)
84
79
 
85
80
 
86
81
class ExternalBase(TestCaseWithTransport):