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

Method excel_store

tests/test_excel_store.py:59–65  ·  view source on GitHub ↗

Create ExcelStoreBase instance for testing

(self, temp_dir, monkeypatch)

Source from the content-addressed store, hash-verified

57
58 @pytest.fixture
59 def excel_store(self, temp_dir, monkeypatch):
60 """Create ExcelStoreBase instance for testing"""
61 # Monkey patch data directory
62 monkeypatch.chdir(temp_dir)
63 store = ExcelStoreBase(platform="test", crawler_type="search")
64 yield store
65 # Cleanup is handled by temp_dir fixture
66
67 def test_initialization(self, excel_store):
68 """Test Excel store initialization"""

Callers

nothing calls this directly

Calls 1

ExcelStoreBaseClass · 0.90

Tested by

no test coverage detected