/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/test_smart.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:
27
27
import bz2
28
28
import zlib
29
29
 
30
 
from bzrlib import (
 
30
from breezy import (
31
31
    bencode,
32
32
    branch as _mod_branch,
33
33
    controldir,
39
39
    urlutils,
40
40
    versionedfile,
41
41
    )
42
 
from bzrlib.smart import (
 
42
from breezy.smart import (
43
43
    branch as smart_branch,
44
44
    bzrdir as smart_dir,
45
45
    repository as smart_repo,
48
48
    server,
49
49
    vfs,
50
50
    )
51
 
from bzrlib.testament import Testament
52
 
from bzrlib.tests import test_server
53
 
from bzrlib.transport import (
 
51
from breezy.testament import Testament
 
52
from breezy.tests import test_server
 
53
from breezy.transport import (
54
54
    chroot,
55
55
    memory,
56
56
    )
57
57
 
58
58
 
59
 
def load_tests(standard_tests, module, loader):
 
59
def load_tests(loader, standard_tests, pattern):
60
60
    """Multiply tests version and protocol consistency."""
61
61
    # FindRepository tests.
62
62
    scenarios = [
2464
2464
        for key in smart_req.request_handlers.keys():
2465
2465
            try:
2466
2466
                item = smart_req.request_handlers.get(key)
2467
 
            except AttributeError, e:
 
2467
            except AttributeError as e:
2468
2468
                raise AttributeError('failed to get %s: %s' % (key, e))
2469
2469
 
2470
2470
    def assertHandlerEqual(self, verb, handler):