~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_directory_service.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:
54
54
 
55
55
    def test_get_transport(self):
56
56
        directories.register('foo:', FooService, 'Map foo URLs to http urls')
57
 
        self.addCleanup(lambda: directories.remove('foo:'))
 
57
        self.addCleanup(directories.remove, 'foo:')
58
58
        self.assertEqual(FooService.base + 'bar/',
59
59
                         get_transport('foo:bar').base)
60
60