/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/plugins/launchpad/test_lp_service.py

Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
from ... import errors
23
23
from .lp_registration import (
24
 
    InvalidLaunchpadInstance, LaunchpadService, NotLaunchpadBranch)
 
24
    InvalidURL,
 
25
    InvalidLaunchpadInstance,
 
26
    LaunchpadService,
 
27
    NotLaunchpadBranch,
 
28
    )
25
29
from .test_lp_directory import FakeResolveFactory
26
30
from ...tests import TestCase
27
31
 
156
160
            raise xmlrpclib.Fault(42, 'something went wrong')
157
161
        factory.submit = submit
158
162
        self.assertRaises(
159
 
            errors.InvalidURL, service.get_web_url_from_branch_url, 'lp:foo',
 
163
            InvalidURL, service.get_web_url_from_branch_url, 'lp:foo',
160
164
            factory)
161
165
 
162
166
    def test_staging_url(self):