~abentley/bzr/appenddir

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_inv.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:
38
38
    TestCase,
39
39
    TestCaseWithTransport,
40
40
    )
41
 
from bzrlib.tests.per_workingtree import workingtree_formats
42
41
from bzrlib.tests.scenarios import load_tests_apply_scenarios
 
42
from bzrlib.workingtree import WorkingTreeFormat
43
43
 
44
44
 
45
45
load_tests = load_tests_apply_scenarios
59
59
        scenarios.append((str(format.__name__), {
60
60
            'apply_delta':apply_inventory_Repository_add_inventory_by_delta,
61
61
            'format':format}))
62
 
    for format in workingtree_formats():
 
62
    for format in WorkingTreeFormat.get_formats():
63
63
        scenarios.append(
64
64
            (str(format.__class__.__name__) + ".update_basis_by_delta", {
65
65
            'apply_delta':apply_inventory_WT_basis,