MCPcopy
hub / github.com/redis/redis-py / test_incrby

Method test_incrby

tests/test_commands.py:2286–2289  ·  view source on GitHub ↗
(self, r)

Source from the content-addressed store, hash-verified

2284 assert r["a"] == b"7"
2285
2286 def test_incrby(self, r):
2287 assert r.incrby("a") == 1
2288 assert r.incrby("a", 4) == 5
2289 assert r["a"] == b"5"
2290
2291 @skip_if_server_version_lt("2.6.0")
2292 def test_incrbyfloat(self, r):

Callers

nothing calls this directly

Calls 1

incrbyMethod · 0.45

Tested by

no test coverage detected