~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_inv.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-03-03 06:02:49 UTC
  • mfrom: (5672.1.7 branch-revs-to-fetch)
  • Revision ID: pqm@pqm.ubuntu.com-20110303060249-l2zou9i59742nrqf
(spiv) Add Branch.heads_to_fetch API and HPSS request. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    repository,
25
25
    revision,
26
26
    tests,
 
27
    workingtree,
27
28
    )
28
29
from bzrlib.inventory import (
29
30
    CHKInventory,
39
40
    TestCaseWithTransport,
40
41
    )
41
42
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 WorkingTreeFormat.get_formats():
 
62
    for format in workingtree.format_registry._get_all():
63
63
        scenarios.append(
64
64
            (str(format.__class__.__name__) + ".update_basis_by_delta", {
65
65
            'apply_delta':apply_inventory_WT_basis,