Part of lp.buildmaster.tests.mock_slaves View In Hierarchy
Method | base_url | The URL for the XML-RPC service set up by BuilddSlaveTestSetup . |
Method | getServerSlave | Set up a test build slave server. |
Method | getClientSlave | Return a BuilderSlave for use in testing. |
Method | makeCacheFile | Make a cache file available on the remote slave. |
Method | triggerGoodBuild | Trigger a good build on 'slave'. |
BuilderSlave
for use in testing.
Points to a fixed URL that is also used by BuilddSlaveTestSetup
.
Parameters | tachandler | The TacTestSetup object used to start the remote slave. |
filename | The name of the file to create in the file cache area. | |
contents | Bytes to write to the file. |
Parameters | slave | A BuilderSlave instance to trigger the build on. |
build_id | The build identifier. If not specified, defaults to an arbitrary string. (type: str) | |
Returns | The build id returned by the slave. |