()
| 38 | |
| 39 | @pytest.fixture |
| 40 | def touch_soon() -> Generator[Callable[[Path], None]]: |
| 41 | threads: list[Thread] = [] |
| 42 | |
| 43 | def start(*paths: Path) -> None: |
| 44 | thread = Thread(target=sleep_touch, args=paths) |
| 45 | thread.start() |
| 46 | threads.append(thread) |
| 47 | |
| 48 | yield start |
| 49 | |
| 50 | for t in threads: |
| 51 | t.join() |
| 52 | |
| 53 | |
| 54 | class TestBaseReload: |