(client)
| 22 | |
| 23 | @pytest.mark.redismod |
| 24 | def test_json_setbinarykey(client): |
| 25 | d = {"hello": "world", b"some": "value"} |
| 26 | with pytest.raises(TypeError): |
| 27 | client.json().set("somekey", Path.root_path(), d) |
| 28 | assert client.json().set("somekey", Path.root_path(), d, decode_keys=True) |
| 29 | |
| 30 | |
| 31 | @pytest.mark.redismod |