/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_branch/__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 import (
 
27
from breezy import (
28
28
    errors,
29
29
    tests,
30
30
    )
31
 
from bzrlib.branch import format_registry
32
 
from bzrlib.remote import RemoteBranchFormat
33
 
from bzrlib.tests import test_server
34
 
from bzrlib.tests.per_controldir.test_controldir import TestCaseWithControlDir
35
 
from bzrlib.transport import memory
 
31
from breezy.branch import format_registry
 
32
from breezy.remote import RemoteBranchFormat
 
33
from breezy.tests import test_server
 
34
from breezy.tests.per_controldir.test_controldir import TestCaseWithControlDir
 
35
from breezy.transport import memory
36
36
 
37
37
 
38
38
def make_scenarios(transport_server, transport_readonly_server,
147
147
    return scenarios
148
148
 
149
149
 
150
 
def load_tests(standard_tests, module, loader):
 
150
def load_tests(loader, standard_tests, pattern):
151
151
    per_branch_mod_names = [
152
152
        'branch',
153
153
        'break_lock',
177
177
        'update',
178
178
        ]
179
179
    sub_tests = loader.loadTestsFromModuleNames(
180
 
        ['bzrlib.tests.per_branch.test_' + name
 
180
        ['breezy.tests.per_branch.test_' + name
181
181
         for name in per_branch_mod_names])
182
182
    return tests.multiply_tests(sub_tests, branch_scenarios(), standard_tests)