Add Redis Mock -- tested and working
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class RedisConnectionMock(object):
|
||||
""" Simple class to mock a dummy behaviour for Redis related functions """
|
||||
|
||||
def zscore(self, redis_prefix, day):
|
||||
pass
|
||||
|
||||
def zincrby(self, redis_prefix, day, amount):
|
||||
pass
|
||||
Reference in New Issue
Block a user