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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-22 00:56:52 UTC
  • mfrom: (6621.2.26 py3_pokes)
  • Revision ID: jelmer@jelmer.uk-20170522005652-yjahcr9hwmjkno7n
Merge Python3 porting work ('py3 pokes')

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
import inspect
19
19
import sys
20
20
 
21
 
from breezy import (
 
21
from .. import (
22
22
    builtins,
23
23
    commands,
24
24
    config,
27
27
    tests,
28
28
    trace,
29
29
    )
30
 
from breezy.commands import display_command
31
 
from breezy.tests import TestSkipped
 
30
from ..commands import display_command
 
31
from . import TestSkipped
32
32
 
33
33
 
34
34
class TestCommands(tests.TestCase):
373
373
        self.assertSubset(['foo', 'bar'], cmds)
374
374
 
375
375
class TestPreAndPostCommandHooks(tests.TestCase):
376
 
    class TestError(StandardError):
 
376
    class TestError(Exception):
377
377
        __doc__ = """A test exception."""
378
378
 
379
379
    def test_pre_and_post_hooks(self):