/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/tree_implementations/__init__.py

Merge from refactor-intertree

Show diffs side-by-side

added added

removed removed

Lines of Context:
325
325
            preview_tree_pre))
326
326
 
327
327
    def create_tree_scenario(self, name, converter, workingtree_format=None):
 
328
        """Create a scenario for the specified converter
 
329
 
 
330
        :param name: The name to append to tests using this converter
 
331
        :param converter: A function that converts a workingtree into the
 
332
            desired format.
 
333
        :param workingtree_format: The particular workingtree format to
 
334
            convert from.
 
335
        :return: a (name, options) tuple, where options is a dict of values
 
336
            to be used as members of the TestCase.
 
337
        """
328
338
        if workingtree_format is None:
329
339
            workingtree_format = WorkingTreeFormat3()
330
340
        scenario_options = WorkingTreeTestProviderAdapter.create_scenario(self,