diff --git a/redis_cache/backends/dummy.py b/redis_cache/backends/dummy.py index 991d7934..d307cf46 100644 --- a/redis_cache/backends/dummy.py +++ b/redis_cache/backends/dummy.py @@ -6,7 +6,7 @@ def ttl(self, key): return 0 def delete_pattern(self, pattern, version=None): - raise NotImplementedError + return None def get_or_set(self, key, func, timeout=None): if not callable(func): @@ -15,7 +15,7 @@ def get_or_set(self, key, func, timeout=None): return func() def reinsert_keys(self): - raise NotImplementedError + return None def persist(self, key): return True