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

Method test_msetex_invalid_inputs

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

Source from the content-addressed store, hash-verified

2746
2747 @skip_if_server_version_lt("8.3.224")
2748 def test_msetex_invalid_inputs(self, r):
2749 mapping = {"1": 1, "2": "2"}
2750 with pytest.raises(exceptions.DataError):
2751 r.msetex(mapping, ex=10, keepttl=True)
2752
2753 def test_msetex_zero_expiry_options_are_mutually_exclusive(self, r):
2754 with pytest.raises(DataError):

Callers

nothing calls this directly

Calls 1

msetexMethod · 0.80

Tested by

no test coverage detected