Part of lp.codehosting.tests.test_lpserve View In Hierarchy
Most of the helper methods here are copied from bzrlib.tests and bzrlib.tests.blackbox.test_serve in bzr.dev r4445. They have since been modified for the Launchpad environment.
Method | assertFinishedCleanly | Assert that a server process finished cleanly. |
Method | finish_lpserve_subprocess | Shut down the server process. |
Method | start_server_inet | Start an lp-serve server subprocess. |
Method | test_successful_start_then_stop | Undocumented |
Method | test_successful_start_then_stop_logs_no_oops | Undocumented |
Method | test_unexpected_error_logs_oops | Undocumented |
Returns | A tuple of (retcode, stdout, stderr). |
Copied from bzrlib.tests.test_serve
.
Parameters | user_id | The database id of the user to run as. If not provided, defaults to 1. |
Returns | a tuple with the bzr process handle for passing to finish_lpserve_subprocess, a client for the server, and a transport. |