Minimal concrete subclass used as system under test.
| 24 | |
| 25 | |
| 26 | class _SimpleProcess(monitored_process.MonitoredProcess): |
| 27 | """Minimal concrete subclass used as system under test.""" |
| 28 | |
| 29 | READINESS_STRING = "ready" |
| 30 | ERROR_PATTERNS = ["FATAL"] |
| 31 | TERMINATE_TIMEOUT_SECONDS = 0.1 |
| 32 | READINESS_TIMEOUT_SECONDS = 1.0 |
| 33 | |
| 34 | def _get_subprocess_args(self) -> list: |
| 35 | return ["mybin", "--flag"] |
| 36 | |
| 37 | |
| 38 | def _make_stream(*lines: str) -> asyncio.StreamReader: |
no outgoing calls