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

Method test_append

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

Source from the content-addressed store, hash-verified

1581
1582 # BASIC KEY COMMANDS
1583 def test_append(self, r):
1584 assert r.append("a", "a1") == 2
1585 assert r["a"] == b"a1"
1586 assert r.append("a", "a2") == 4
1587 assert r["a"] == b"a1a2"
1588
1589 @skip_if_server_version_lt("2.6.0")
1590 def test_bitcount(self, r):

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected