~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_inv.py

Merge pt1 hooks branch.

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,