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

  • Committer: Jelmer Vernooij
  • Date: 2020-06-11 01:25:02 UTC
  • mfrom: (7490.40.10 work)
  • mto: This revision was merged to the branch mainline in revision 7511.
  • Revision ID: jelmer@jelmer.uk-20200611012502-z6hno3todj3cycgv
Mere lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    tree as _mod_tree,
38
38
    )
39
39
from breezy.bzr import (
40
 
    branch as _mod_bzrbranch,
41
40
    remote,
42
41
    )
43
42
from breezy.tests import (
257
256
        """
258
257
        t = self.get_transport()
259
258
        branch = self.make_branch('bzr.dev')
260
 
        if not isinstance(branch, _mod_bzrbranch.BzrBranch):
 
259
        if not branch.repository._format.supports_storing_branch_nick:
261
260
            raise tests.TestNotApplicable("not a bzr branch format")
262
261
        # The nick will be 'bzr.dev', because there is no explicit nick set.
263
262
        self.assertEqual(branch.nick, 'bzr.dev')