(self, r: redis.Redis)
| 1704 | |
| 1705 | @skip_if_server_version_lt("8.7.0") |
| 1706 | async def test_increx_default(self, r: redis.Redis): |
| 1707 | key = "increx:default" |
| 1708 | assert await r.set(key, 10) |
| 1709 | assert await r.increx(key) == [11, 1] |
| 1710 | assert await r.get(key) == b"11" |
| 1711 | |
| 1712 | @skip_if_server_version_lt("8.7.0") |
| 1713 | async def test_increx_byint(self, r: redis.Redis): |