Commit 4339f719 authored by rogelio's avatar rogelio Committed by Joshua Roesslein
Browse files

Modified MemCacheCache to raise NotImplementedError instead of returning false data.

parent 1e30e7c1
......@@ -293,11 +293,11 @@ class MemCacheCache(Cache):
def count(self):
"""Get count of entries currently stored in cache. RETURN 0"""
return 0
raise NotImplementedError
def cleanup(self):
"""Delete any expired entries in cache. NO-OP"""
pass
raise NotImplementedError
def flush(self):
"""Delete all cached entries. NO-OP"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment