~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2007-01-12 04:48:18 UTC
  • mto: (2255.6.1 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: aaron.bentley@utoronto.ca-20070112044818-nnw6iunriqq073qc
Implement tree comparison for tree references

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
from bzrlib.tests.bzrdir_implementations.test_bzrdir import TestCaseWithBzrDir
41
41
from bzrlib.revisiontree import RevisionTree
42
42
from bzrlib.workingtree import (WorkingTreeFormat,
 
43
                                WorkingTreeFormat4,
43
44
                                WorkingTreeTestProviderAdapter,
44
45
                                _legacy_formats,
45
46
                                )
177
178
        for adapted_test in result:
178
179
            # for working tree adapted tests, preserve the tree
179
180
            adapted_test.workingtree_to_test_tree = return_parameter
180
 
        default_format = WorkingTreeFormat.get_default_format()
 
181
        default_format = WorkingTreeFormat4()
181
182
        revision_tree_test = self._clone_test(
182
183
            test,
183
184
            default_format._matchingbzrdir,