~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2009-02-23 15:29:35 UTC
  • mfrom: (3943.7.7 bzr.code_style_cleanup)
  • mto: This revision was merged to the branch mainline in revision 4033.
  • Revision ID: john@arbash-meinel.com-20090223152935-oel9m92mwcc6nb4h
Merge the removal of all trailing whitespace, and resolve conflicts.

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
 
180
180
        ]
181
181
    # Generate a list of branch formats and their associated bzrdir formats to
182
182
    # use.
183
 
    combinations = [(format, format._matchingbzrdir) for format in 
 
183
    combinations = [(format, format._matchingbzrdir) for format in
184
184
         BranchFormat._formats.values() + _legacy_formats]
185
185
    adapter = BranchTestProviderAdapter(
186
186
        # None here will cause the default vfs transport server to be used.