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

Function assert_resp_response

tests/conftest.py:913–917  ·  view source on GitHub ↗
(
    r, response, resp2_expected, resp3_expected, unified_expected=_UNSET
)

Source from the content-addressed store, hash-verified

911
912
913def assert_resp_response(
914 r, response, resp2_expected, resp3_expected, unified_expected=_UNSET
915):
916 expected = _select_expected(r, resp2_expected, resp3_expected, unified_expected)
917 assert response == expected
918
919
920def assert_resp_response_in(

Callers 15

test_client_setnameMethod · 0.90
test_hrandfieldMethod · 0.90
test_blpopMethod · 0.90
test_brpopMethod · 0.90
test_zaddMethod · 0.90
test_zadd_nxMethod · 0.90
test_zadd_xxMethod · 0.90
test_zadd_chMethod · 0.90
test_zdiffMethod · 0.90
test_zdiffstoreMethod · 0.90
test_zinterstore_sumMethod · 0.90
test_zinterstore_maxMethod · 0.90

Calls 1

_select_expectedFunction · 0.85

Tested by

no test coverage detected