Reset the context manager before each test.
()
| 6 | |
| 7 | @pytest.fixture(autouse=True) |
| 8 | def reset_context(): |
| 9 | """Reset the context manager before each test.""" |
| 10 | ContextManager().reset() |
| 11 | yield |
| 12 | # Clean up after test |
| 13 | ContextManager().reset() |
| 14 | |
| 15 | |
| 16 | def setup_test_context(tool_manager=None, **kwargs): |
nothing calls this directly
no test coverage detected