/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/test_switch.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-25 21:22:37 UTC
  • mfrom: (7045.4.19 python3-t)
  • Revision ID: breezy.the.bot@gmail.com-20180725212237-16h5uliv36e2fv54
Fix another ~400 tests on Python 3.

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
        # Check it out and switch to revision 1
168
168
        checkout = tree.branch.create_checkout('checkout',
169
169
            lightweight=self.lightweight)
170
 
        switch.switch(checkout.controldir, tree.branch, revision_id="rev1")
 
170
        switch.switch(checkout.controldir, tree.branch, revision_id=b"rev1")
171
171
        self.assertPathExists('checkout/file-1')
172
172
        self.assertPathDoesNotExist('checkout/file-2')
173
173