Provide a fresh ServerState instance for each test.
()
| 13 | |
| 14 | @pytest.fixture |
| 15 | def fresh_state(): |
| 16 | """Provide a fresh ServerState instance for each test.""" |
| 17 | test_state = ServerState() |
| 18 | yield test_state |
| 19 | test_state.reset() |
| 20 | |
| 21 | |
| 22 | def test_clear_debug_logs(fresh_state): |
nothing calls this directly
no test coverage detected