python-fakeredis 1.2.1 Fake implementation of redis API for testing purposes
Fakeredis is a pure-Python implementation of the redis-py Python client that simulates talking to a redis server. It was created for a single purpose: to write unit tests.
Setting up redis is not hard, but one often wants to write unit tests that don't talk to an external server such as redis. This module can be used as a reasonable substitute.