b.t.t.DecoratorServer(TestServer) : class documentation

Part of bzrlib.tests.test_server View In Hierarchy

Known subclasses: bzrlib.tests.test_server.BrokenRenameServer, bzrlib.tests.test_server.FakeNFSServer, bzrlib.tests.test_server.FakeVFATServer, bzrlib.tests.test_server.LogDecoratorServer, bzrlib.tests.test_server.NoSmartTransportServer, bzrlib.tests.test_server.ReadonlyServer, bzrlib.tests.test_server.TraceServer, bzrlib.tests.test_server.UnlistableServer

Server for the TransportDecorator for testing with.

To use this when subclassing TransportDecorator, override override the get_decorator_class method.

Method start_server See bzrlib.transport.Server.start_server.
Method stop_server Remove the server and cleanup any resources it owns.
Method get_decorator_class Return the class of the decorators we should be constructing.
Method get_url_prefix What URL prefix does this decorator produce?
Method get_bogus_url See bzrlib.transport.Server.get_bogus_url.
Method get_url See bzrlib.transport.Server.get_url.
def start_server(self, server=None):
See bzrlib.transport.Server.start_server.

:server: decorate the urls given by server. If not provided a
LocalServer is created.
def stop_server(self):
Remove the server and cleanup any resources it owns.
def get_decorator_class(self):
Return the class of the decorators we should be constructing.
def get_url_prefix(self):
What URL prefix does this decorator produce?
def get_bogus_url(self):
See bzrlib.transport.Server.get_bogus_url.
def get_url(self):
See bzrlib.transport.Server.get_url.
API Documentation for Bazaar, generated by pydoctor at 2019-07-16 00:33:44.