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

Method test_resp3_matches

tests/test_utils.py:57–59  ·  view source on GitHub ↗
(self, protocol)

Source from the content-addressed store, hash-verified

55
56 @pytest.mark.parametrize("protocol", [3, "3"])
57 def test_resp3_matches(self, protocol):
58 assert check_protocol_version(protocol, 3) is True
59 assert check_protocol_version(protocol, 2) is False
60
61 @pytest.mark.parametrize("protocol", [2, "2"])
62 def test_resp2_matches(self, protocol):

Callers

nothing calls this directly

Calls 1

check_protocol_versionFunction · 0.90

Tested by

no test coverage detected