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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 14:47:52 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521144752-8o6jt0a6xat9g7lm
More renames; commands in output, environment variables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
456
456
        self.server.start_server()
457
457
        self.addCleanup(self.server.stop_server)
458
458
        # Ensure we don't clobber env
459
 
        self.overrideEnv('BZR_LP_XMLRPC_URL', None)
 
459
        self.overrideEnv('BRZ_LP_XMLRPC_URL', None)
460
460
        # Ensure we use the right certificates for https.
461
461
        # FIXME: There should be a better way but the only alternative I can
462
462
        # think of involves carrying the ca_certs through the lp_registration
497
497
                                                        path=path)
498
498
 
499
499
    def do_request(self, server_url):
500
 
        os.environ['BZR_LP_XMLRPC_URL'] = self.server.get_url()
 
500
        os.environ['BRZ_LP_XMLRPC_URL'] = self.server.get_url()
501
501
        service = lp_registration.LaunchpadService()
502
502
        resolve = lp_registration.ResolveLaunchpadPathRequest('bzr')
503
503
        result = resolve.submit(service)