~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testinv.py

  • Committer: Martin Pool
  • Date: 2005-09-05 08:00:35 UTC
  • Revision ID: mbp@sourcefrog.net-20050905080035-e0439293f8b6b9f9
- start splitting code for xml (de)serialization away from objects
  preparatory to supporting multiple formats by a single library

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        self.assertEqual(inv.path2id('src/bye.c'), 'bye-id')
50
50
        
51
51
        self.assert_('src-id' in inv)
 
52
 
 
53
 
 
54
    def test_version(self):
 
55
        """Inventory remembers the text's version."""
 
56
        inv = Inventory()
 
57
        ie = inv.add_path('foo.txt', 'file')
 
58
        ## XXX
 
59