~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2010-04-08 04:34:03 UTC
  • mfrom: (5138 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5139.
  • Revision ID: robertc@robertcollins.net-20100408043403-56z0d07vdqrx7f3t
Update bugfix for 528114 to trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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)