/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_repository/test_fetch.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:
16
16
 
17
17
"""Tests for fetch between repositories of the same type."""
18
18
 
19
 
from bzrlib import (
 
19
from breezy import (
20
20
    controldir,
21
21
    errors,
22
22
    gpg,
23
23
    remote,
24
24
    repository,
25
25
    )
26
 
from bzrlib.inventory import ROOT_ID
27
 
from bzrlib.tests import (
 
26
from breezy.inventory import ROOT_ID
 
27
from breezy.tests import (
28
28
    TestNotApplicable,
29
29
    TestSkipped,
30
30
    )
31
 
from bzrlib.tests.per_repository import TestCaseWithRepository
 
31
from breezy.tests.per_repository import TestCaseWithRepository
32
32
 
33
33
 
34
34
class TestFetchSameRepository(TestCaseWithRepository):
72
72
            format = tree_a.branch.repository._format
73
73
            format.check_conversion_target(f.repository_format)
74
74
            # if we cannot convert data to knit3, skip the test.
75
 
        except errors.BadConversionTarget, e:
 
75
        except errors.BadConversionTarget as e:
76
76
            raise TestSkipped(str(e))
77
77
        self.get_transport().mkdir('b')
78
78
        b_bzrdir = f.initialize(self.get_url('b'))