(self, r)
| 5453 | assert r.hincrbyfloat("a", "1", 1.2) == 3.2 |
| 5454 | |
| 5455 | def test_hkeys(self, r): |
| 5456 | h = {b"a1": b"1", b"a2": b"2", b"a3": b"3"} |
| 5457 | r.hset("a", mapping=h) |
| 5458 | local_keys = list(h.keys()) |
| 5459 | remote_keys = r.hkeys("a") |
| 5460 | assert sorted(local_keys) == sorted(remote_keys) |
| 5461 | |
| 5462 | def test_hlen(self, r): |
| 5463 | r.hset("a", mapping={"1": 1, "2": 2, "3": 3}) |