43
48
self.assertEqual('bar', suffix)
45
50
def test_dereference(self):
47
52
self.registry.dereference('foo:bar'))
48
53
self.assertEqual('baz:qux', self.registry.dereference('baz:qux'))
50
55
def test_get_transport(self):
51
56
directories.register('foo:', FooService, 'Map foo URLs to http urls')
52
57
self.addCleanup(lambda: directories.remove('foo:'))
56
62
class TestAliasDirectory(TestCaseWithTransport):