twisted.runner.test.test_procmon.DummyProcess(object) class documentationtwisted.runner.test.test_procmon
(View In Hierarchy)
An incomplete and fake IProcessTransport
implementation for testing how ProcessMonitor
behaves when its monitored processes exit.
| Method | __init__ | Undocumented | 
| Method | signalProcess | No summary | 
| Method | processEnded | Deliver the process ended event to self.proto. | 
| Instance Variable | _terminationDelay | the delay in seconds after which the DummyProcess will appear to exit when it receives a TERM signal | 
A partial implementation of signalProcess which can only handle TERM and KILL signals.
DummyProcess._terminationDelay
    seconds with exit code 0
  | Parameters | signalID | The signal name or number to be issued to the process. (type: str) |