l.s.t.t.t.ProcessTestsMixin : class documentation

Part of lp.services.twistedsupport.tests.test_processmonitor View In Hierarchy

Known subclasses: lp.codehosting.codeimport.tests.test_workermonitor.TestWorkerMonitorProtocol, lp.codehosting.puller.tests.test_scheduler.TestPullerMonitorProtocol, lp.services.twistedsupport.tests.test_processmonitor.TestProcessMonitorProtocol, lp.services.twistedsupport.tests.test_processmonitor.TestProcessMonitorProtocolWithTimeout, lp.services.twistedsupport.tests.test_processmonitor.TestProcessProtocolWithTwoStageKill, lp.services.twistedsupport.tests.test_processmonitor.TestProcessWithTimeout

Helpers to allow direct testing of ProcessProtocol subclasses.
Class StubTransport Stub process transport that implements the minimum we need.
Method makeProtocol Construct an ProcessProtocol instance to be tested.
Method simulateProcessExit Pretend the child process we're monitoring has exited.
Method setUp Undocumented
def makeProtocol(self):
Construct an ProcessProtocol instance to be tested.

Override this in subclasses.

def simulateProcessExit(self, clean=True):
Pretend the child process we're monitoring has exited.
def setUp(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-10-20 00:00:13.