Skip to content

Commit

Permalink
Merge pull request #102 from tilezen/zerebubuth/fix-text-expiry-keywo…
Browse files Browse the repository at this point in the history
…rd-arg

Add keyword arg to MockRedis to fix test.
  • Loading branch information
zerebubuth authored Jun 12, 2017
2 parents 37da4a0 + c9f9793 commit 783d8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class MockRedis(object):
def __init__(self):
self._data = {}

def set(self, key, data):
def set(self, key, data, ex=None):
self._data[key] = data

def get(self, key):
Expand Down

0 comments on commit 783d8d8

Please sign in to comment.