/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 bzrlib/tests/branch_implementations/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2009-02-25 15:36:48 UTC
  • mfrom: (4048 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4050.
  • Revision ID: jelmer@samba.org-20090225153648-7r5mk20nr9dttqbf
Merge bzr.dev.

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 
 
23
Specific tests for individual formats are in the tests/test_branch file
24
24
rather than in tests/branch_implementations/*.py.
25
25
"""
26
26
 
57
57
        self._transport_readonly_server = transport_readonly_server
58
58
        self._name_suffix = name_suffix
59
59
        self.scenarios = self.formats_to_scenarios(formats)
60
 
    
 
60
 
61
61
    def formats_to_scenarios(self, formats):
62
62
        """Transform the input formats to a list of scenarios.
63
63
 
156
156
        'bzrlib.tests.branch_implementations.test_break_lock',
157
157
        'bzrlib.tests.branch_implementations.test_check',
158
158
        'bzrlib.tests.branch_implementations.test_create_checkout',
 
159
        'bzrlib.tests.branch_implementations.test_create_clone',
159
160
        'bzrlib.tests.branch_implementations.test_commit',
160
161
        'bzrlib.tests.branch_implementations.test_dotted_revno_to_revision_id',
161
162
        'bzrlib.tests.branch_implementations.test_get_revision_id_to_revno_map',
180
181
        ]
181
182
    # Generate a list of branch formats and their associated bzrdir formats to
182
183
    # use.
183
 
    combinations = [(format, format._matchingbzrdir) for format in 
 
184
    combinations = [(format, format._matchingbzrdir) for format in
184
185
         BranchFormat._formats.values() + _legacy_formats]
185
186
    adapter = BranchTestProviderAdapter(
186
187
        # None here will cause the default vfs transport server to be used.