(self)
| 31 | assert "/raw/notes.md" in handler._pending |
| 32 | |
| 33 | def test_collects_modified_files(self): |
| 34 | callback = MagicMock() |
| 35 | handler = DebouncedHandler(callback, debounce_seconds=100) |
| 36 | |
| 37 | handler.on_modified(_make_file_event("/raw/paper.txt")) |
| 38 | |
| 39 | if handler._timer: |
| 40 | handler._timer.cancel() |
| 41 | |
| 42 | assert "/raw/paper.txt" in handler._pending |
| 43 | |
| 44 | def test_ignores_directories(self): |
| 45 | callback = MagicMock() |
nothing calls this directly
no test coverage detected