Part of bzrlib.tests.test_server View In Hierarchy
Known subclasses: bzrlib.tests.test_server.ReadonlySmartTCPServer_for_testing, bzrlib.tests.test_server.SmartTCPServer_for_testing_v2_only
This server is backed by the process's cwd.
Method | __init__ | Undocumented |
Method | create_server | Undocumented |
Method | start_server | Set up server for testing. |
Method | stop_server | Remove the server and cleanup any resources it owns. |
Method | get_backing_transport | Get a backing transport from a server we are decorating. |
Method | get_url | Undocumented |
Method | get_bogus_url | Return a URL which will fail to connect |
Inherited from TestingTCPServerInAThread:
Method | __repr__ | Undocumented |
Method | run_server | Undocumented |
Method | set_ignored_exceptions | Install an exception handler for the server. |
Method | pending_exception | Raise uncaught exception in the server. |
Parameters | backing_transport_server | backing server to use. If not specified, a LocalURLServer at the current working directory will be used. |
client_path_extra | a path segment starting with '/' to append to
the root URL for this server. For instance, a value of '/foo/bar/'
will mean the root of the backing transport will be published at a
URL like bzr://127.0.0.1:nnnn/foo/bar/ , rather than
bzr://127.0.0.1:nnnn/ . Default value is extra , so that tests
by default will fail unless they do the necessary path translation. |