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?
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?