/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/tests/per_controldir/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
rather than in tests/per_branch/*.py.
25
25
"""
26
26
 
27
 
from bzrlib.controldir import ControlDirFormat
28
 
from bzrlib.tests import (
 
27
from breezy.controldir import ControlDirFormat
 
28
from breezy.tests import (
29
29
    default_transport,
30
30
    multiply_tests,
31
31
    test_server,
32
32
    TestCaseWithTransport,
33
33
    )
34
 
from bzrlib.transport import memory
 
34
from breezy.transport import memory
35
35
 
36
36
 
37
37
def make_scenarios(vfs_factory, transport_server, transport_readonly_server,
71
71
        return self.bzrdir_format
72
72
 
73
73
 
74
 
def load_tests(standard_tests, module, loader):
 
74
def load_tests(loader, standard_tests, pattern):
75
75
    test_per_controldir = [
76
 
        'bzrlib.tests.per_controldir.test_controldir',
77
 
        'bzrlib.tests.per_controldir.test_format',
78
 
        'bzrlib.tests.per_controldir.test_push',
 
76
        'breezy.tests.per_controldir.test_controldir',
 
77
        'breezy.tests.per_controldir.test_format',
 
78
        'breezy.tests.per_controldir.test_push',
79
79
        ]
80
80
    submod_tests = loader.loadTestsFromModuleNames(test_per_controldir)
81
81
    formats = ControlDirFormat.known_formats()
87
87
        None,
88
88
        formats)
89
89
    # This will always add scenarios using the smart server.
90
 
    from bzrlib.remote import RemoteBzrDirFormat
 
90
    from breezy.remote import RemoteBzrDirFormat
91
91
    # test the remote server behaviour when backed with a MemoryTransport
92
92
    # Once for the current version
93
93
    scenarios.extend(make_scenarios(