~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2006-05-28 03:56:21 UTC
  • mto: (1711.2.26 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1734.
  • Revision ID: john@arbash-meinel.com-20060528035621-3460c764281b032f
Switch to using bzrlib.xml5.serializer_v5 so that a plugin can override it if we want

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
from bzrlib.tests.workingtree_implementations import TestCaseWithWorkingTree
20
20
from bzrlib.branch import Branch
21
 
from bzrlib.xml5 import serializer_v5
 
21
import bzrlib.xml5
22
22
 
23
23
 
24
24
class TestBasisInventory(TestCaseWithWorkingTree):
49
49
        t._control_files.get_utf8('basis-inventory')
50
50
 
51
51
        basis_inv_txt = t.read_basis_inventory()
52
 
        basis_inv = serializer_v5.read_inventory_from_string(basis_inv_txt)
 
52
        basis_inv = bzrlib.xml5.serializer_v5.read_inventory_from_string(basis_inv_txt)
53
53
        self.assertEquals('r2', basis_inv.revision_id)
54
54
        store_inv = b.repository.get_inventory('r2')
55
55