/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2018-06-17 11:15:04 UTC
  • mto: (6973.12.2 python3-k)
  • mto: This revision was merged to the branch mainline in revision 7003.
  • Revision ID: jelmer@jelmer.uk-20180617111504-i2eqvqbtfj5bp0t3
s/file/open.

Show diffs side-by-side

added added

removed removed

Lines of Context:
324
324
        inp = BytesIO(_working_inventory_v4)
325
325
        inv = xml4.serializer_v4.read_inventory(inp)
326
326
        self.assertEqual(len(inv), 4)
327
 
        self.assertTrue(inv.has_id('bar-20050901064931-73b4b1138abc9cd2'))
 
327
        self.assertTrue(inv.has_id(b'bar-20050901064931-73b4b1138abc9cd2'))
328
328
 
329
329
    def test_unpack_revision(self):
330
330
        """Test unpacking a canned revision v4"""