~bzr/ubuntu/natty/bzr/bzr-ppa

« back to all changes in this revision

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

  • Committer: Max Bowsher
  • Date: 2011-09-16 05:22:35 UTC
  • mfrom: (0.5074.35 natty)
  • Revision ID: _@maxb.eu-20110916052235-vwnqjwmx8c0v5uli
2.4 promoted to not-beta PPA

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
"""Branch implementation tests for bzr.
21
21
 
22
22
These test the conformance of all the branch variations to the expected API.
23
 
Specific tests for individual formats are in the tests/test_branch file
24
 
rather than in tests/per_branch/*.py.
 
23
Specific tests for individual formats are in the `tests/test_branch` file
 
24
rather than in `tests/per_branch/*.py`.
25
25
"""
26
26
 
27
27
from bzrlib import (
28
28
    errors,
29
29
    tests,
30
30
    )
31
 
from bzrlib.branch import (BranchFormat,
32
 
                           _legacy_formats,
33
 
                           )
34
 
from bzrlib.remote import RemoteBranchFormat, RemoteBzrDirFormat
 
31
from bzrlib.branch import format_registry
 
32
from bzrlib.remote import RemoteBranchFormat
35
33
from bzrlib.tests import test_server
36
34
from bzrlib.tests.per_controldir.test_controldir import TestCaseWithControlDir
37
35
from bzrlib.transport import memory
132
130
    # Generate a list of branch formats and their associated bzrdir formats to
133
131
    # use.
134
132
    combinations = [(format, format._matchingbzrdir) for format in
135
 
         BranchFormat.get_formats() + _legacy_formats]
 
133
         format_registry._get_all()]
136
134
    scenarios = make_scenarios(
137
135
        # None here will cause the default vfs transport server to be used.
138
136
        None,