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

Method test_xnack_no_ids

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

Source from the content-addressed store, hash-verified

6940
6941 @skip_if_server_version_lt("8.7.2")
6942 def test_xnack_no_ids(self, r):
6943 stream = "stream"
6944 group = "group"
6945 r.xadd(stream, {"foo": "bar"})
6946 r.xgroup_create(stream, group, 0)
6947 with pytest.raises(redis.DataError):
6948 r.xnack(stream, group, "FAIL")
6949
6950 @skip_if_server_version_lt("8.7.2")
6951 def test_xnack_negative_retrycount(self, r):

Callers

nothing calls this directly

Calls 3

xaddMethod · 0.80
xgroup_createMethod · 0.80
xnackMethod · 0.80

Tested by

no test coverage detected