MCPcopy
hub / github.com/marimo-team/marimo / test_has

Method test_has

tests/_runtime/test_storage.py:98–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

96 storage.remove("nonexistent") # Should not raise
97
98 def test_has(self) -> None:
99 storage = InMemoryStorage()
100 assert not storage.has("test_key")
101 storage.store("test_key", b"hello")
102 assert storage.has("test_key")
103
104 def test_shutdown_clears_storage(self) -> None:
105 storage = InMemoryStorage()

Callers

nothing calls this directly

Calls 3

hasMethod · 0.95
storeMethod · 0.95
InMemoryStorageClass · 0.90

Tested by

no test coverage detected