~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_directory_service.py

Merge cleanup into description

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