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

Method test__clear

tests/unit/tables/test_sets.py:258–261  ·  view source on GitHub ↗
(self, *, man)

Source from the content-addressed store, hash-verified

256 man.set_table["a"].difference_update.assert_called_once_with({"v1"})
257
258 def test__clear(self, *, man):
259 man.set_table = {"a": Mock(name="a"), "b": Mock(name="b")}
260 man._clear("a", [])
261 man.set_table["a"].clear.assert_called_once_with()
262
263 def test__intersection_update(self, *, man):
264 man.set_table = {"a": Mock(name="a"), "b": Mock(name="b")}

Callers

nothing calls this directly

Calls 2

MockClass · 0.85
_clearMethod · 0.45

Tested by

no test coverage detected