/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_controldir_colo/__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:
23
23
run.
24
24
"""
25
25
 
26
 
from brzlib.controldir import ControlDirFormat
27
 
from brzlib.tests import (
 
26
from breezy.controldir import ControlDirFormat
 
27
from breezy.tests import (
28
28
    default_transport,
29
29
    multiply_tests,
30
30
    test_server,
31
31
    )
32
 
from brzlib.tests.per_controldir import (
 
32
from breezy.tests.per_controldir import (
33
33
    TestCaseWithControlDir,
34
34
    make_scenarios,
35
35
    )
36
 
from brzlib.transport import memory
 
36
from breezy.transport import memory
37
37
 
38
38
 
39
39
def load_tests(standard_tests, module, loader):
40
40
    colo_supported_formats = []
41
41
    colo_unsupported_formats = []
42
42
    # This will always add scenarios using the smart server.
43
 
    from brzlib.remote import RemoteBzrDirFormat
 
43
    from breezy.remote import RemoteBzrDirFormat
44
44
    for format in ControlDirFormat.known_formats():
45
45
        if isinstance(format, RemoteBzrDirFormat):
46
46
            continue
70
70
 
71
71
    result = loader.suiteClass()
72
72
    supported_tests = loader.loadTestsFromModuleNames([
73
 
        'brzlib.tests.per_controldir_colo.test_supported'])
 
73
        'breezy.tests.per_controldir_colo.test_supported'])
74
74
    unsupported_tests = loader.loadTestsFromModuleNames([
75
 
        'brzlib.tests.per_controldir_colo.test_unsupported'])
 
75
        'breezy.tests.per_controldir_colo.test_unsupported'])
76
76
    multiply_tests(supported_tests, supported_scenarios, result)
77
77
    multiply_tests(unsupported_tests, unsupported_scenarios, result)
78
78
    return result