(client)
| 245 | |
| 246 | @pytest.mark.redismod |
| 247 | def test_numincrby(client): |
| 248 | client.json().set("num", Path.root_path(), 1) |
| 249 | assert_resp_response( |
| 250 | client, client.json().numincrby("num", Path.root_path(), 1), 2, [2] |
| 251 | ) |
| 252 | assert_resp_response( |
| 253 | client, client.json().numincrby("num", Path.root_path(), 0.5), 2.5, [2.5] |
| 254 | ) |
| 255 | assert_resp_response( |
| 256 | client, client.json().numincrby("num", Path.root_path(), -1.25), 1.25, [1.25] |
| 257 | ) |
| 258 | |
| 259 | |
| 260 | @pytest.mark.redismod |
nothing calls this directly
no test coverage detected