/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_branch/test_push.py

  • Committer: Jelmer Vernooij
  • Date: 2018-06-18 02:13:57 UTC
  • mto: (6973.12.2 python3-k)
  • mto: This revision was merged to the branch mainline in revision 7004.
  • Revision ID: jelmer@jelmer.uk-20180618021357-xz802zqfmrf7zv1z
More test fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
                'Format does not support bound branches')
124
124
        other = bound.controldir.sprout('other').open_branch()
125
125
        try:
126
 
            other.tags.set_tag('new-tag', 'some-rev')
 
126
            other.tags.set_tag('new-tag', b'some-rev')
127
127
        except errors.TagsNotSupported:
128
128
            raise tests.TestNotApplicable('Format does not support tags')
129
129
        other.push(bound)
130
 
        self.assertEqual({'new-tag': 'some-rev'}, bound.tags.get_tag_dict())
131
 
        self.assertEqual({'new-tag': 'some-rev'}, master.tags.get_tag_dict())
 
130
        self.assertEqual({'new-tag': b'some-rev'}, bound.tags.get_tag_dict())
 
131
        self.assertEqual({'new-tag': b'some-rev'}, master.tags.get_tag_dict())
132
132
 
133
133
    def test_push_uses_read_lock(self):
134
134
        """Push should only need a read lock on the source side."""