~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin
  • Date: 2010-05-20 18:23:10 UTC
  • mto: This revision was merged to the branch mainline in revision 5244.
  • Revision ID: gzlist@googlemail.com-20100520182310-1amew76s8x26ww6z
Use the production server in the launchpad plugin rather than edge

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
                'author@launchpad.net',
189
189
                'product')
190
190
        rego.submit(service)
191
 
        self.assertEquals(transport.connected_host, 'xmlrpc.edge.launchpad.net')
 
191
        self.assertEquals(transport.connected_host, 'xmlrpc.launchpad.net')
192
192
        self.assertEquals(len(transport.sent_params), 6)
193
193
        self.assertEquals(transport.sent_params,
194
194
                ('http://test-server.com/bzr/branch',  # branch_url
205
205
        service = LaunchpadService(transport)
206
206
        resolve = ResolveLaunchpadPathRequest('bzr')
207
207
        resolve.submit(service)
208
 
        self.assertEquals(transport.connected_host, 'xmlrpc.edge.launchpad.net')
 
208
        self.assertEquals(transport.connected_host, 'xmlrpc.launchpad.net')
209
209
        self.assertEquals(len(transport.sent_params), 1)
210
210
        self.assertEquals(transport.sent_params, ('bzr', ))
211
211
        self.assertTrue(transport.got_request)