460
460
# The abspath is always relative to the base of the backing transport.
461
461
server = PathFilteringServer(get_transport('memory:///foo/bar/'),
464
464
transport = get_transport(server.get_url())
465
465
self.assertEqual(server.get_url(), transport.abspath('/'))
467
467
subdir_transport = transport.clone('subdir')
468
468
self.assertEqual(server.get_url(), subdir_transport.abspath('/'))
471
471
def make_pf_transport(self, filter_func=None):
472
472
"""Make a PathFilteringTransport backed by a MemoryTransport.