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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-25 18:15:53 UTC
  • mfrom: (7045.4.7 python3-s)
  • Revision ID: breezy.the.bot@gmail.com-20180725181553-mz6zhncntlovb8ii
Fix another couple of hundred tests on Python 3.

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
            )
72
72
        d = ControlDir.open(url)
73
73
        b = d.create_branch()
74
 
        self.assertEqual(b.ref, "refs/remotes/origin/unstable")
 
74
        self.assertEqual(b.ref, b"refs/remotes/origin/unstable")
75
75
 
76
76
    def test_open_existing(self):
77
77
        r = GitRepo.init('.')
84
84
        d = ControlDir.open('.')
85
85
        thebranch = d.create_branch()
86
86
        self.assertEqual(
87
 
            "<LocalGitBranch('%s/', u'master')>" % (
88
 
                urlutils.local_path_to_url(self.test_dir),),
 
87
            "<LocalGitBranch('%s/', %r)>" % (
 
88
                urlutils.local_path_to_url(self.test_dir),
 
89
                u'master'),
89
90
            repr(thebranch))
90
91
 
91
92
    def test_last_revision_is_null(self):