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

Method test_clear

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

Source from the content-addressed store, hash-verified

207
208 @pytest.mark.asyncio
209 async def test_clear(self, *, man):
210 man._send_operation = AsyncMock()
211 await man.clear("key")
212 man._send_operation.assert_called_once_with(
213 SetAction.CLEAR,
214 "key",
215 [],
216 )
217
218 @pytest.mark.asyncio
219 async def test_difference_update(self, *, man):

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected