Mock for the redis-py client library Supports writing tests for code using the redis-py library without requiring a a redis-server install. Usage mockredis.make_redis_client can be used to patch instances of the redis client. Attribution This code is shamelessly derived from work by John DeRosa.