MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / clear_singleton_state

Method clear_singleton_state

tests/test_excel_store.py:44–48  ·  view source on GitHub ↗

Clear singleton state before and after each test

(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected