~abentley/bzr/appenddir

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-02-07 18:33:42 UTC
  • mfrom: (5642.2.6 extra-workingtree-formats)
  • Revision ID: pqm@pqm.ubuntu.com-20110207183342-sid8o7k8d1c5ph7c
(jelmer) Allow registering "extra" working tree formats that can not be used
 in meta dirs. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
        return builder
68
68
 
69
69
 
70
 
def workingtree_formats():
71
 
    """The known working tree formats."""
72
 
    return (workingtree.WorkingTreeFormat._formats.values() +
73
 
        workingtree._legacy_formats)
74
 
 
75
 
 
76
70
def load_tests(standard_tests, module, loader):
77
71
    test_names = [
78
72
        'add_reference',
126
120
        # None here will cause a readonly decorator to be created
127
121
        # by the TestCaseWithTransport.get_readonly_transport method.
128
122
        None,
129
 
        workingtree_formats()
 
123
        workingtree.WorkingTreeFormat.get_formats()
130
124
        )
131
125
 
132
126
    # add the tests for the sub modules