/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_bzrdir.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:
23
23
import subprocess
24
24
import sys
25
25
 
26
 
from breezy import (
 
26
from .. import (
27
27
    branch,
28
28
    bzrdir,
29
29
    config,
42
42
    workingtree_4,
43
43
    )
44
44
import breezy.branch
45
 
from breezy.branchfmt.fullhistory import BzrBranchFormat5
46
 
from breezy.errors import (
 
45
from ..branchfmt.fullhistory import BzrBranchFormat5
 
46
from ..errors import (
47
47
    NotBranchError,
48
48
    NoColocatedBranchSupport,
49
49
    UnknownFormatError,
50
50
    UnsupportedFormatError,
51
51
    )
52
 
from breezy.tests import (
 
52
from . import (
53
53
    TestCase,
54
54
    TestCaseWithMemoryTransport,
55
55
    TestCaseWithTransport,
56
56
    TestSkipped,
57
57
    )
58
 
from breezy.tests import(
 
58
from . import(
59
59
    http_server,
60
60
    http_utils,
61
61
    )
62
 
from breezy.tests.test_http import TestWithTransport_pycurl
63
 
from breezy.transport import (
 
62
from .test_http import TestWithTransport_pycurl
 
63
from ..transport import (
64
64
    memory,
65
65
    pathfilter,
66
66
    )
67
 
from breezy.transport.http._urllib import HttpTransport_urllib
68
 
from breezy.transport.nosmart import NoSmartTransportDecorator
69
 
from breezy.transport.readonly import ReadonlyTransportDecorator
70
 
from breezy.repofmt import knitrepo, knitpack_repo
 
67
from ..transport.http._urllib import HttpTransport_urllib
 
68
from ..transport.nosmart import NoSmartTransportDecorator
 
69
from ..transport.readonly import ReadonlyTransportDecorator
 
70
from ..repofmt import knitrepo, knitpack_repo
71
71
 
72
72
 
73
73
class TestDefaultFormat(TestCase):
1371
1371
        self.assertEqual('fail', err._preformatted_string)
1372
1372
 
1373
1373
    def test_post_repo_init(self):
1374
 
        from breezy.controldir import RepoInitHookParams
 
1374
        from ..controldir import RepoInitHookParams
1375
1375
        calls = []
1376
1376
        bzrdir.BzrDir.hooks.install_named_hook('post_repo_init',
1377
1377
            calls.append, None)