(r)
| 417 | |
| 418 | @skip_if_server_version_lt("7.9.0") |
| 419 | async def test_hsetex_no_expiration(r): |
| 420 | await r.delete("test:hash") |
| 421 | |
| 422 | # # set items from mapping without expiration |
| 423 | assert await r.hsetex("test:hash", None, None, mapping={"1": 1, "4": b"four"}) == 1 |
| 424 | assert await r.httl("test:hash", "foo", "1", "4") == [-2, -1, -1] |
| 425 | assert await r.hgetex("test:hash", "foo", "1") == [None, b"1"] |
| 426 | |
| 427 | |
| 428 | @skip_if_server_version_lt("7.9.0") |