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

  • Committer: Jelmer Vernooij
  • Date: 2019-05-29 03:22:34 UTC
  • mfrom: (7303 work)
  • mto: This revision was merged to the branch mainline in revision 7306.
  • Revision ID: jelmer@jelmer.uk-20190529032234-mt3fuws8gq03tapi
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
except ImportError:  # python < 3
23
23
    from xmlrpclib import Fault
24
24
 
25
 
from ... import errors
26
25
from .lp_registration import (
27
26
    InvalidURL,
28
27
    InvalidLaunchpadInstance,
159
158
    def test_lp_branch_fault(self):
160
159
        service = LaunchpadService()
161
160
        factory = FakeResolveFactory(self, 'foo', None)
 
161
 
162
162
        def submit(service):
163
163
            raise Fault(42, 'something went wrong')
164
164
        factory.submit = submit