Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for RedisJSON #166

Open
calthomson opened this issue Sep 19, 2022 · 1 comment
Open

Support for RedisJSON #166

calthomson opened this issue Sep 19, 2022 · 1 comment

Comments

@calthomson
Copy link

We use redislite for our unit tests. We've recently started using the RedisJSON module, which causes our unit tests to break seeing redislite does not support the RedisJSON commands:

redis.exceptions.ResponseError: unknown command `JSON.SET`, with args beginning with....

I don't seen any mention of RedisJSON in any redislite discussions, or for any other redis libraries for unit testing. Does anyone know of a good way to unit test where RedisJSON commands are involved short of mocking them manually?

@cunla
Copy link

cunla commented Mar 19, 2023

Supported in fakeredis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants