~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/test_register.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-12-02 14:58:47 UTC
  • mfrom: (5554.1.3 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20101202145847-fw822sd3nyhvrwmi
(vila) Merge 2.2 into trunk including fix for bug #583667 and bug
        #681885 (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
        self.assertEquals(out, 'Branch registered.\n')
176
176
 
177
177
    def test_onto_transport(self):
178
 
        """Test how the request is sent by transmitting across a mock Transport"""
 
178
        """How the request is sent by transmitting across a mock Transport"""
179
179
        # use a real transport, but intercept at the http/xml layer
180
180
        transport = InstrumentedXMLRPCTransport(self, expect_auth=True)
181
181
        service = LaunchpadService(transport)
200
200
        self.assertTrue(transport.got_request)
201
201
 
202
202
    def test_onto_transport_unauthenticated(self):
203
 
        """Test how an unauthenticated request is transmitted across a mock Transport"""
 
203
        """An unauthenticated request is transmitted across a mock Transport"""
204
204
        transport = InstrumentedXMLRPCTransport(self, expect_auth=False)
205
205
        service = LaunchpadService(transport)
206
206
        resolve = ResolveLaunchpadPathRequest('bzr')