~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/weave_fmt/test_repository.py

  • Committer: Martin Pool
  • Date: 2011-06-28 15:39:43 UTC
  • mto: This revision was merged to the branch mainline in revision 6001.
  • Revision ID: mbp@canonical.com-20110628153943-8goi4lgd2d1wfu1v
Fix up additional callers that count on inventory.__contains__

Show diffs side-by-side

added added

removed removed

Lines of Context:
311
311
        inp = StringIO(_working_inventory_v4)
312
312
        inv = xml4.serializer_v4.read_inventory(inp)
313
313
        self.assertEqual(len(inv), 4)
314
 
        self.assert_('bar-20050901064931-73b4b1138abc9cd2' in inv)
 
314
        self.assert_(inv.has_id('bar-20050901064931-73b4b1138abc9cd2'))
315
315
 
316
316
    def test_unpack_revision(self):
317
317
        """Test unpacking a canned revision v4"""