Factory returning a callable that mimics RunningProcess(...).
(returncode: int)
| 44 | |
| 45 | |
| 46 | def _fake_running_process(returncode: int) -> Any: |
| 47 | """Factory returning a callable that mimics RunningProcess(...).""" |
| 48 | |
| 49 | def _factory(*args: Any, **kwargs: Any) -> _FakeRepairProc: |
| 50 | del args, kwargs |
| 51 | return _FakeRepairProc(returncode) |
| 52 | |
| 53 | return _factory |
| 54 | |
| 55 | |
| 56 | class TestPerformNinjaMaintenance(unittest.TestCase): |
no outgoing calls
no test coverage detected