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

  • Committer: Jelmer Vernooij
  • Date: 2018-08-23 01:36:15 UTC
  • mto: This revision was merged to the branch mainline in revision 7089.
  • Revision ID: jelmer@jelmer.uk-20180823013615-ndckfn0vqyvjmgqi
Fix some stream tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
262
262
                    cur_names = set(repo._pack_collection._names)
263
263
                    # In this test, len(result) is always 1, so unordered is ok
264
264
                    new_names = list(cur_names - old_names)
265
 
                    # TODO(jelmer): commit_write_group should probably return
266
 
                    # pack names in the same type (text_type or bytes) as the
267
 
                    # actual pack names.
268
 
                    self.assertEqual(new_names, [p.decode('ascii') for p in result])
 
265
                    self.assertEqual(new_names, result)
269
266
 
270
267
    def test_fail_obsolete_deletion(self):
271
268
        # failing to delete obsolete packs is not fatal