MCPcopy
hub / github.com/faust-streaming/faust / test_clear

Method test_clear

tests/unit/stores/test_memory.py:15–18  ·  view source on GitHub ↗
(self, *, store)

Source from the content-addressed store, hash-verified

13 return Store(url="memory://", app=app, table=Mock(name="table"))
14
15 def test_clear(self, *, store):
16 store.data["foo"] = 1
17 store._clear()
18 assert not store.data
19
20 def test_apply_changelog_batch(self, *, store):
21 event, to_key, to_value = self.mock_event_to_key_value()

Callers

nothing calls this directly

Calls 1

_clearMethod · 0.45

Tested by

no test coverage detected