(self, r)
| 5481 | assert r.hget("a", "1") == b"1" |
| 5482 | |
| 5483 | def test_hvals(self, r): |
| 5484 | h = {b"a1": b"1", b"a2": b"2", b"a3": b"3"} |
| 5485 | r.hset("a", mapping=h) |
| 5486 | local_vals = list(h.values()) |
| 5487 | remote_vals = r.hvals("a") |
| 5488 | assert sorted(local_vals) == sorted(remote_vals) |
| 5489 | |
| 5490 | @skip_if_server_version_lt("3.2.0") |
| 5491 | def test_hstrlen(self, r): |