Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
def
store():
23
""
"每次测试使用独立的内存 SQLite 场景库。"
""
24
s = ScenarioStore(
":memory:"
)
25
yield
s
26
s.close()
27
28
29
def
_mock_stats():
Callers
nothing calls this directly
Calls
2
close
Method · 0.95
ScenarioStore
Class · 0.90
Tested by
no test coverage detected