Clear the module-level planning context cache between tests.
()
| 70 | |
| 71 | @pytest.fixture(autouse=True) |
| 72 | def _clear_context_cache(): |
| 73 | """Clear the module-level planning context cache between tests.""" |
| 74 | _planning_context_cache.clear() |
| 75 | yield |
| 76 | _planning_context_cache.clear() |
| 77 | |
| 78 | |
| 79 | # --------------------------------------------------------------------------- |