/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-06-11 02:08:52 UTC
  • mfrom: (7510.1.3 merge-3.1)
  • Revision ID: breezy.the.bot@gmail.com-20200611020852-jdb9d037vj6shvyj
Merge lp:brz/3.1.

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.1/+merge/385542

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')