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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-03 01:51:19 UTC
  • mfrom: (6973.14.14 python3-m)
  • Revision ID: breezy.the.bot@gmail.com-20180703015119-8wqoc0wqw45irl6r
Fix more tests on Python3.

Merged from https://code.launchpad.net/~jelmer/brz/python3-m/+merge/348800

Show diffs side-by-side

added added

removed removed

Lines of Context:
376
376
        self.add_file('hello/file', b'foo')
377
377
        self.do_full_upload()
378
378
        self.delete_any('hello/file')
379
 
        self.transform_dir_into_file('hello', 'bar')
 
379
        self.transform_dir_into_file('hello', b'bar')
380
380
 
381
381
        self.assertUpFileEqual(b'foo', 'hello/file')
382
382
 
558
558
 
559
559
        self.add_file('.bzrignore-upload', b'hello')
560
560
        self.delete_any('hello/file')
561
 
        self.transform_dir_into_file('hello', 'bar')
 
561
        self.transform_dir_into_file('hello', b'bar')
562
562
 
563
563
        self.assertUpFileEqual(b'foo', 'hello/file')
564
564