diff options
author | Chayim I. Kirshen <c@kirshen.com> | 2021-11-09 14:25:44 +0200 |
---|---|---|
committer | Chayim I. Kirshen <c@kirshen.com> | 2021-11-09 14:25:44 +0200 |
commit | 29638b0374ef6437de2715d8edd4405cfbedf6d9 (patch) | |
tree | 811650e28361642877b8b99468fadf20619d3702 /tests/test_json.py | |
parent | e1ad33bf1de2b4c2bf64423098f10fe19d878e76 (diff) | |
download | redis-py-ck-customjson-decodertest.tar.gz |
Diffstat (limited to 'tests/test_json.py')
-rw-r--r-- | tests/test_json.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_json.py b/tests/test_json.py index 319e6e1..abc5776 100644 --- a/tests/test_json.py +++ b/tests/test_json.py @@ -1400,6 +1400,7 @@ def test_decoders_and_unstring(): assert decode_list("45.55") == 45.55 assert decode_list(['hello', b'world']) == ['hello', 'world'] + @pytest.mark.redismod def test_custom_decoder(client): import ujson @@ -1412,4 +1413,4 @@ def test_custom_decoder(client): assert 1 == cj.delete("foo") assert client.exists("foo") == 0 assert not isinstance(cj.__encoder__, json.JSONEncoder) - assert not isinstance(cj.__decoder__, json.JSONDecoder)
\ No newline at end of file + assert not isinstance(cj.__decoder__, json.JSONDecoder) |