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

  • Committer: Jelmer Vernooij
  • Date: 2020-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
from breezy.tests import (
30
30
    TestCaseWithTransport,
31
31
    )
32
 
from breezy.sixish import (
33
 
    text_type,
34
 
    )
35
32
 
36
33
 
37
34
class ForeignBranchFactory(object):
99
96
    def test__get_nick(self):
100
97
        """Make sure _get_nick is implemented and returns a string."""
101
98
        branch = self.make_branch()
102
 
        self.assertIsInstance(branch._get_nick(local=False), text_type)
103
 
        self.assertIsInstance(branch._get_nick(local=True), text_type)
 
99
        self.assertIsInstance(branch._get_nick(local=False), str)
 
100
        self.assertIsInstance(branch._get_nick(local=True), str)
104
101
 
105
102
    def test_null_revid_revno(self):
106
103
        """null: should return revno 0."""