~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2016-04-21 04:10:52 UTC
  • mfrom: (6616.1.1 fix-en-user-guide)
  • Revision ID: pqm@pqm.ubuntu.com-20160421041052-clcye7ns1qcl2n7w
(richard-wilbur) Ensure build of English use guide always uses English text
 even when user's locale specifies a different language. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
import bzrlib
26
26
from bzrlib import (
27
 
    errors,
28
27
    revisiontree,
29
28
    tests,
30
29
    )
39
38
    TestCaseWithTree,
40
39
    )
41
40
from bzrlib.tree import InterTree
42
 
from bzrlib.workingtree import (
43
 
    WorkingTreeFormat3,
44
 
    )
 
41
from bzrlib.workingtree_3 import WorkingTreeFormat3
45
42
from bzrlib.workingtree_4 import WorkingTreeFormat4
46
43
 
47
44
 
125
122
    default_tree_format = WorkingTreeFormat3()
126
123
    submod_tests = loader.loadTestsFromModuleNames([
127
124
        'bzrlib.tests.per_intertree.test_compare',
 
125
        'bzrlib.tests.per_intertree.test_file_content_matches',
128
126
        ])
129
127
    test_intertree_permutations = [
130
128
        # test InterTree with two default-format working trees.
137
135
            # -- vila 20090311
138
136
            chk_tree_format = WorkingTreeFormat4()
139
137
            chk_tree_format._get_matchingbzrdir = \
140
 
                lambda:bzrlib.bzrdir.format_registry.make_bzrdir(
141
 
                    'development6-rich-root')
 
138
                lambda:bzrlib.controldir.format_registry.make_bzrdir('2a')
142
139
            test_intertree_permutations.append(
143
140
                (InterTree.__name__ + "(CHKInventory)",
144
141
                 InterTree,