(self, r: redis.Redis)
| 3465 | ) |
| 3466 | |
| 3467 | async def test_zadd_xx(self, r: redis.Redis): |
| 3468 | assert await r.zadd("a", {"a1": 1}) == 1 |
| 3469 | assert await r.zadd("a", {"a1": 99, "a2": 2}, xx=True) == 0 |
| 3470 | response = await r.zrange("a", 0, -1, withscores=True) |
| 3471 | assert_resp_response(r, response, [(b"a1", 99.0)], [[b"a1", 99.0]]) |
| 3472 | |
| 3473 | async def test_zadd_ch(self, r: redis.Redis): |
| 3474 | assert await r.zadd("a", {"a1": 1}) == 1 |
nothing calls this directly
no test coverage detected