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

Method test_delete_scenario

tests/test_store.py:80–83  ·  view source on GitHub ↗
(self, engine, store)

Source from the content-addressed store, hash-verified

78 assert store.load_scenario("不存在") is None
79
80 def test_delete_scenario(self, engine, store):
81 store.save_scenario("临时", engine)
82 assert store.delete_scenario("临时") is True
83 assert store.load_scenario("临时") is None
84
85 def test_delete_missing(self, store):
86 assert store.delete_scenario("不存在") is False

Callers

nothing calls this directly

Calls 3

save_scenarioMethod · 0.80
delete_scenarioMethod · 0.80
load_scenarioMethod · 0.80

Tested by

no test coverage detected