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

Function test_nonascii_setgetdelete

tests/test_json.py:185–189  ·  view source on GitHub ↗
(client)

Source from the content-addressed store, hash-verified

183
184@pytest.mark.redismod
185def test_nonascii_setgetdelete(client):
186 assert client.json().set("notascii", Path.root_path(), "hyvää-élève")
187 assert client.json().get("notascii", no_escape=True) == "hyvää-élève"
188 assert 1 == client.json().delete("notascii")
189 assert client.exists("notascii") == 0
190
191
192@pytest.mark.redismod

Callers

nothing calls this directly

Calls 6

root_pathMethod · 0.80
setMethod · 0.45
jsonMethod · 0.45
getMethod · 0.45
deleteMethod · 0.45
existsMethod · 0.45

Tested by

no test coverage detected