/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/tests/per_branch/test_tags.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
1:1 with Branch implementations so can be tested from here.
21
21
"""
22
22
 
23
 
from bzrlib import (
 
23
from breezy import (
24
24
    branch,
25
25
    controldir,
26
26
    errors,
27
27
    tests,
28
28
    )
29
 
from bzrlib.tests import per_branch
 
29
from breezy.tests import per_branch
30
30
 
31
31
 
32
32
class TestBranchTags(per_branch.TestCaseWithBranch):
96
96
        b = self.make_branch('b')
97
97
        try:
98
98
            b.tags.lookup_tag('bosko')
99
 
        except errors.NoSuchTag, e:
 
99
        except errors.NoSuchTag as e:
100
100
            self.assertEqual(e.tag_name, 'bosko')
101
101
            self.assertEqual(str(e), 'No such tag: bosko')
102
102
        else: