~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testinv.py

  • Committer: Aaron Bentley
  • Date: 2005-09-12 13:48:32 UTC
  • mfrom: (1185.3.4)
  • mto: (1185.1.16)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: abentley@panoramicfeedback.com-20050912134832-c23db11dc63170b6
Merged from mpool

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