/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 breezy/tests/per_tree/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 - tests/test_workingtree.py
26
26
"""
27
27
 
28
 
from brzlib import (
 
28
from breezy import (
29
29
    errors,
30
30
    tests,
31
31
    transform,
32
32
    transport,
33
33
    )
34
 
from brzlib.tests.per_controldir.test_controldir import TestCaseWithControlDir
35
 
from brzlib.tests.per_workingtree import (
 
34
from breezy.tests.per_controldir.test_controldir import TestCaseWithControlDir
 
35
from breezy.tests.per_workingtree import (
36
36
    make_scenarios as wt_make_scenarios,
37
37
    make_scenario as wt_make_scenario,
38
38
    )
39
 
from brzlib.revisiontree import RevisionTree
40
 
from brzlib.transform import TransformPreview
41
 
from brzlib.tests import (
 
39
from breezy.revisiontree import RevisionTree
 
40
from breezy.transform import TransformPreview
 
41
from breezy.tests import (
42
42
    features,
43
43
    )
44
 
from brzlib.workingtree import (
 
44
from breezy.workingtree import (
45
45
    format_registry,
46
46
    )
47
 
from brzlib.workingtree_4 import (
 
47
from breezy.workingtree_4 import (
48
48
    DirStateRevisionTree,
49
49
    WorkingTreeFormat4,
50
50
    WorkingTreeFormat5,
243
243
                            Note: if you wish to automatically set this
244
244
                            parameters depending on underlying system,
245
245
                            please use value returned
246
 
                            by brzlib.osutils.has_symlinks() function.
 
246
                            by breezy.osutils.has_symlinks() function.
247
247
 
248
248
        The returned tree has the following inventory:
249
249
            [('', inventory.ROOT_ID),
336
336
 
337
337
 
338
338
def make_scenarios(transport_server, transport_readonly_server, formats):
339
 
    """Generate test suites for each Tree implementation in brzlib.
 
339
    """Generate test suites for each Tree implementation in breezy.
340
340
 
341
341
    Currently this covers all working tree formats, and RevisionTree and
342
342
    DirStateRevisionTree by committing a working tree to create the revision
409
409
        'walkdirs',
410
410
        ]
411
411
    submod_tests = loader.loadTestsFromModuleNames(
412
 
        ['brzlib.tests.per_tree.test_' + name
 
412
        ['breezy.tests.per_tree.test_' + name
413
413
         for name in per_tree_mod_names])
414
414
    scenarios = make_scenarios(
415
415
        tests.default_transport,