(decoded_r)
| 265 | |
| 266 | @pytest.mark.redismod |
| 267 | async def test_numincrby(decoded_r): |
| 268 | await decoded_r.json().set("num", Path.root_path(), 1) |
| 269 | res = await decoded_r.json().numincrby("num", Path.root_path(), 1) |
| 270 | assert_resp_response(decoded_r, res, 2, [2]) |
| 271 | res = await decoded_r.json().numincrby("num", Path.root_path(), 0.5) |
| 272 | assert_resp_response(decoded_r, res, 2.5, [2.5]) |
| 273 | res = await decoded_r.json().numincrby("num", Path.root_path(), -1.25) |
| 274 | assert_resp_response(decoded_r, res, 1.25, [1.25]) |
| 275 | |
| 276 | |
| 277 | @pytest.mark.redismod |
nothing calls this directly
no test coverage detected