l.b.t.m.SlaveTestHelpers(fixtures.Fixture) : class documentation

Part of lp.buildmaster.tests.mock_slaves View In Hierarchy

No class docstring
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'.
@property
def base_url(self):
The URL for the XML-RPC service set up by BuilddSlaveTestSetup.
def getServerSlave(self):
Set up a test build slave server.
ReturnsA BuilddSlaveTestSetup object.
def getClientSlave(self, reactor=None, proxy=None, pool=None):
Return a BuilderSlave for use in testing.

Points to a fixed URL that is also used by BuilddSlaveTestSetup.

def makeCacheFile(self, tachandler, filename, contents='something'):
Make a cache file available on the remote slave.
ParameterstachandlerThe TacTestSetup object used to start the remote slave.
filenameThe name of the file to create in the file cache area.
contentsBytes to write to the file.
def triggerGoodBuild(self, slave, build_id=None):
Trigger a good build on 'slave'.
ParametersslaveA BuilderSlave instance to trigger the build on.
build_idThe build identifier. If not specified, defaults to an arbitrary string. (type: str)
ReturnsThe build id returned by the slave.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.