(self, r: redis.Redis)
| 3520 | assert_resp_response(r, response, [(b"a3", 3.0)], [[b"a3", 3.0]]) |
| 3521 | |
| 3522 | async def test_zincrby(self, r: redis.Redis): |
| 3523 | await r.zadd("a", {"a1": 1, "a2": 2, "a3": 3}) |
| 3524 | assert await r.zincrby("a", 1, "a2") == 3.0 |
| 3525 | assert await r.zincrby("a", 5, "a3") == 8.0 |
| 3526 | assert await r.zscore("a", "a2") == 3.0 |
| 3527 | assert await r.zscore("a", "a3") == 8.0 |
| 3528 | |
| 3529 | @skip_if_server_version_lt("2.8.9") |
| 3530 | async def test_zlexcount(self, r: redis.Redis): |