/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/intertree_implementations/__init__.py

  • Committer: John Arbash Meinel
  • Date: 2008-05-29 19:46:01 UTC
  • mfrom: (3456 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3459.
  • Revision ID: john@arbash-meinel.com-20080529194601-r2gpmk536xin9c4a
merge bzr.dev, put the NEWS entry in the right place

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
from bzrlib.tests import (
28
28
                          adapt_modules,
29
29
                          default_transport,
30
 
                          TestLoader,
31
 
                          TestSuite,
32
30
                          )
33
31
from bzrlib.tests.tree_implementations import (
34
32
    return_parameter,
89
87
                "mutable_trees_to_test_trees":mutable_trees_to_test_trees,
90
88
                # workingtree_to_test_tree is set to disable changing individual,
91
89
                # trees: instead the mutable_trees_to_test_trees helper is used.,
92
 
                "workingtree_to_test_tree":return_parameter,
 
90
                "_workingtree_to_test_tree": return_parameter,
93
91
                })
94
92
            result.append(scenario)
95
93
        return result
96
94
 
97
95
 
98
 
def test_suite():
99
 
    result = TestSuite()
100
 
    loader = TestLoader()
 
96
def load_tests(basic_tests, module, loader):
 
97
    result = loader.suiteClass()
101
98
    # load the tests of the infrastructure for these tests
102
 
    result.addTests(loader.loadTestsFromModuleNames(['bzrlib.tests.intertree_implementations']))
 
99
    result.addTests(basic_tests)
103
100
 
104
101
    default_tree_format = WorkingTreeFormat3()
105
102
    test_intertree_implementations = [
121
118
        # by the TestCaseWithTransport.get_readonly_transport method.
122
119
        None,
123
120
        test_intertree_permutations)
 
121
    # add the tests for the sub modules
124
122
    adapt_modules(test_intertree_implementations, adapter, loader, result)
125
123
    return result