MCPcopy
hub / github.com/redis/redis-py / test_madd

Function test_madd

tests/test_asyncio/test_timeseries.py:191–195  ·  view source on GitHub ↗
(decoded_r: redis.Redis)

Source from the content-addressed store, hash-verified

189
190@pytest.mark.redismod
191async def test_madd(decoded_r: redis.Redis):
192 await decoded_r.ts().create("a")
193 assert [1, 2, 3] == await decoded_r.ts().madd(
194 [("a", 1, 5), ("a", 2, 10), ("a", 3, 15)]
195 )
196
197
198@pytest.mark.redismod

Callers

nothing calls this directly

Calls 3

createMethod · 0.45
tsMethod · 0.45
maddMethod · 0.45

Tested by

no test coverage detected