(
self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch
)
| 100 | assert not pycfile.exists() |
| 101 | |
| 102 | def test_waitonchange( |
| 103 | self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch |
| 104 | ) -> None: |
| 105 | tmp = tmp_path |
| 106 | sd = StatRecorder([tmp]) |
| 107 | |
| 108 | ret_values = [True, False] |
| 109 | monkeypatch.setattr(StatRecorder, "check", lambda self: ret_values.pop()) |
| 110 | sd.waitonchange(checkinterval=0.2) |
| 111 | assert not ret_values |
| 112 | |
| 113 | |
| 114 | class TestRemoteControl: |
nothing calls this directly
no test coverage detected