Part of lp.services.librarianserver.testing.server View In Hierarchy
Instance Variables | service_config | A config fragment with the variables for this service. |
root | the root of the server storage area. | |
upload_port | the port to upload on. | |
download_port | the port to download from. | |
restricted_upload_port | the port to upload restricted files on. | |
restricted_download_port | the port to upload restricted files from. | |
pid | pid of the external process. |
Method | __init__ | Initialize the LibrarianServerFixture. |
Method | setUp | Start both librarian instances. |
Method | cleanUp | Shut downs both librarian instances. |
Method | clear | Clear all files from the Librarian |
Method | pid | Undocumented |
Method | root | The root directory for the librarian file repository. |
Method | setUpRoot | Create the librarian root archive. |
Method | tearDownRoot | Remove the librarian root archive. |
Method | tacfile | Undocumented |
Method | pidfile | Undocumented |
Method | logfile | Undocumented |
Method | getLogChunks | Get a list with the contents of the librarian log in it. |
Method | reset | Reset the librarian to a consistent initial state. |
Method | _read_pid | Undocumented |
Method | _dynamic_config | Is a dynamic config to be used? |
Method | _persistent_servers | Undocumented |
Method | _waitForDaemonStartup | Undocumented |
Inherited from TacTestSetup:
Method | removeLog | Undocumented |
Method | truncateLog | Truncate the log file. |
Method | daemon_directory | Undocumented |
Method | _hasDaemonStarted | Has the daemon started? |
Parameters | config_fixture | The ConfigFixture in use by our tests. In the layered environment, this is BaseLayer.config_fixture. |
True if LP_TEST_INSTANCE is set in the environment.