summaryrefslogtreecommitdiff
path: root/tests/cache/failing_cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cache/failing_cache.py')
-rw-r--r--tests/cache/failing_cache.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cache/failing_cache.py b/tests/cache/failing_cache.py
index e2f0043bb7..1c9b5996d6 100644
--- a/tests/cache/failing_cache.py
+++ b/tests/cache/failing_cache.py
@@ -5,3 +5,6 @@ class CacheClass(LocMemCache):
def set(self, *args, **kwargs):
raise Exception("Faked exception saving to cache")
+
+ async def aset(self, *args, **kwargs):
+ raise Exception("Faked exception saving to cache")