/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/git/tests/test_transportgit.py

  • Committer: Jelmer Vernooij
  • Date: 2019-12-22 23:16:21 UTC
  • mfrom: (7422 work)
  • mto: This revision was merged to the branch mainline in revision 7426.
  • Revision ID: jelmer@jelmer.uk-20191222231621-3p14u9zaypv3q8zl
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        self.store.pack_loose_objects()
47
47
        self.assertEqual(1, len(self.store.packs))
48
48
        packname = list(self.store.packs)[0].name()
49
 
        self.assertEqual({'pack-%s.pack' % packname.decode('ascii'), 'pack-%s.idx' % packname.decode('ascii')},
 
49
        self.assertEqual({'pack-%s' % packname.decode('ascii')},
50
50
                         set(self.store._pack_names()))
51
51
        self.store.transport.put_bytes_non_atomic('info/packs',
52
52
                                                  b'P foo-pack.pack\n')
53
 
        self.assertEqual({'pack-%s.pack' % packname.decode('ascii'), 'pack-%s.idx' % packname.decode('ascii')},
 
53
        self.assertEqual({'pack-%s' % packname.decode('ascii')},
54
54
                         set(self.store._pack_names()))
55
55
 
56
56
    def test_remembers_packs(self):