MCPcopy Create free account
hub / github.com/Tong89/smartNode / store

Function store

tests/test_store.py:22–26  ·  view source on GitHub ↗

每次测试使用独立的内存 SQLite 场景库。

()

Source from the content-addressed store, hash-verified

20
21@pytest.fixture
22def store():
23 """每次测试使用独立的内存 SQLite 场景库。"""
24 s = ScenarioStore(":memory:")
25 yield s
26 s.close()
27
28
29def _mock_stats():

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
ScenarioStoreClass · 0.90

Tested by

no test coverage detected