Clear singleton state before and after each test
(self)
| 42 | |
| 43 | @pytest.fixture(autouse=True) |
| 44 | def clear_singleton_state(self): |
| 45 | """Clear singleton state before and after each test""" |
| 46 | ExcelStoreBase._instances.clear() |
| 47 | yield |
| 48 | ExcelStoreBase._instances.clear() |
| 49 | |
| 50 | @pytest.fixture |
| 51 | def temp_dir(self): |
nothing calls this directly
no outgoing calls
no test coverage detected