~bzr-pqm/bzr/1.17

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-07-10 06:35:38 UTC
  • mfrom: (4505.5.9 apply-inventory-delta)
  • Revision ID: pqm@pqm.ubuntu.com-20090710063538-2hap9pxafqfe6r20
(robertc) First tranche of inventory-delta application validation.
        (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
        return self.workingtree_format.initialize(made_control)
60
60
 
61
61
 
 
62
def workingtree_formats():
 
63
    """The known working tree formats."""
 
64
    return (workingtree.WorkingTreeFormat._formats.values() +
 
65
        workingtree._legacy_formats)
 
66
 
 
67
 
62
68
def load_tests(standard_tests, module, loader):
63
69
    test_workingtree_implementations = [
64
70
        'bzrlib.tests.workingtree_implementations.test_add_reference',
106
112
        # None here will cause a readonly decorator to be created
107
113
        # by the TestCaseWithTransport.get_readonly_transport method.
108
114
        None,
109
 
        workingtree.WorkingTreeFormat._formats.values()
110
 
        + workingtree._legacy_formats)
 
115
        workingtree_formats()
 
116
        )
111
117
 
112
118
    # add the tests for the sub modules
113
119
    return tests.multiply_tests(