-
Hello!
This is failing, giving me the following error:
I'm running an image of redis-stack with docker compose and testing the command and it works fine. Anyone could help me figure out what's going on? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
I have a function to get the Redis client:
that i'm mocking in my test with a pytest fixture:
the mock is well initialized:
am i missing some configuration? |
Beta Was this translation helpful? Give feedback.
-
Interesting.. ok, let's dig deeper and I'll try to replicate:
If these don't pass, then it is likely that |
Beta Was this translation helpful? Give feedback.
-
Also, you are getting |
Beta Was this translation helpful? Give feedback.
How do you initialize client in this context?
when installing fakeredis, did you use the json extra?
pip install fakeredis[json]