/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_workingtree/test_commit.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-25 00:54:22 UTC
  • mfrom: (7045.1.23 python3-p)
  • Revision ID: breezy.the.bot@gmail.com-20180725005422-a1rubn7zssfn2uvu
Fix some more tests on Python 3.

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
        if tree.branch.repository._format.supports_setting_revision_ids:
178
178
            committed_id = tree.commit('foo', rev_id=b'foo')
179
179
            # the commit should have returned the same id we asked for.
180
 
            self.assertEqual('foo', committed_id)
 
180
            self.assertEqual(b'foo', committed_id)
181
181
        else:
182
182
            committed_id = tree.commit('foo')
183
183
        self.assertEqual([committed_id], tree.get_parent_ids())