summaryrefslogtreecommitdiff
path: root/tests/frontend/consistencyerror/plugins/consistencyerror.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/frontend/consistencyerror/plugins/consistencyerror.py')
-rw-r--r--tests/frontend/consistencyerror/plugins/consistencyerror.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/frontend/consistencyerror/plugins/consistencyerror.py b/tests/frontend/consistencyerror/plugins/consistencyerror.py
index 125baf39c..2e30d4842 100644
--- a/tests/frontend/consistencyerror/plugins/consistencyerror.py
+++ b/tests/frontend/consistencyerror/plugins/consistencyerror.py
@@ -11,7 +11,10 @@ class ConsistencyErrorSource(Source):
def get_unique_key(self):
return {}
- def get_consistency(self):
+ def is_resolved(self):
+ return True
+
+ def is_cached(self):
# Raise an error unconditionally
raise SourceError("Something went terribly wrong", reason="the-consistency-error")