Keep the process-wide LLM extra-headers / timeout stashes from leaking across tests.
()
| 5 | |
| 6 | @pytest.fixture(autouse=True) |
| 7 | def _reset_extra_headers(): |
| 8 | """Keep the process-wide LLM extra-headers / timeout stashes from leaking across tests.""" |
| 9 | from openkb.config import set_extra_headers, set_timeout |
| 10 | |
| 11 | yield |
| 12 | set_extra_headers({}) |
| 13 | set_timeout(None) |
| 14 | |
| 15 | |
| 16 | @pytest.fixture |
nothing calls this directly
no test coverage detected