(decoded_r: redis.Redis)
| 317 | |
| 318 | @pytest.mark.redismod |
| 319 | async def test_arrappend(decoded_r: redis.Redis): |
| 320 | await decoded_r.json().set("arr", Path.root_path(), [1]) |
| 321 | assert 2 == await decoded_r.json().arrappend("arr", Path.root_path(), 2) |
| 322 | assert 4 == await decoded_r.json().arrappend("arr", Path.root_path(), 3, 4) |
| 323 | assert 7 == await decoded_r.json().arrappend("arr", Path.root_path(), *[5, 6, 7]) |
| 324 | |
| 325 | |
| 326 | @pytest.mark.redismod |