Testing applications that use RC.

Null Cache

Simple idea, just create one NullCache object that does not cache at all when you are doing unit test.

Fake Redis

Use a fake redis as backend, this is existing for testing purposes only. It depends on the fakeredis library, install it first:

$ pip install fakeredis

For more details, check out FakeRedisCache.