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

  • Committer: Martin Pool
  • Date: 2010-06-24 06:53:06 UTC
  • mfrom: (5317 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5343.
  • Revision ID: mbp@sourcefrog.net-20100624065306-qcx1wg84ufuckime
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007, 2008 Canonical Ltd
 
1
# Copyright (C) 2007-2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
91
91
        self.assertEquals('http://bazaar.launchpad.net/~apt/apt/devel',
92
92
                          directory._resolve('lp:apt', factory))
93
93
        # Make sure that resolve went to the production server.
94
 
        self.assertEquals('https://xmlrpc.edge.launchpad.net/bazaar/',
 
94
        self.assertEquals('https://xmlrpc.launchpad.net/bazaar/',
95
95
                          factory._service_url)
96
96
 
97
97
    def test_staging(self):
216
216
        directories.remove('lp:')
217
217
        directories.register('lp:', FooService, 'Map lp URLs to local urls')
218
218
        self.addCleanup(_register_directory)
219
 
        self.addCleanup(lambda: directories.remove('lp:'))
 
219
        self.addCleanup(directories.remove, 'lp:')
220
220
        transport = get_transport('lp:///apt')
221
221
        branch = Branch.open_from_transport(transport)
222
222
        self.assertEqual(target_branch.base, branch.base)