dragonfly
dragonfly copied to clipboard
chore(fakeredis): Enable JSON tests in the Fakeredis tests
fixes dragonflydb#3671
- Fix the issue with the
JSON.ARRINDEXcommand. It should return error for the empty result in the legacy mode - Temporary disable filter expression tests in the
test_json_arr_commands.py::test_arrindex - Enable json fakeredis tests
Can you please add a unit test for Fix the issue with the JSON.ARRINDEX command. It should return error for the empty result in the legacy mode ?
Good work!
Due to the fact that for jsonpathv2=true and jsonpathv2=false we get different error messages, I'm just checking in the test that we get an error.
The problem is mentioned in the #3777 issue. When it will be fixed, we will be able to check the error message in the tests.