diff --git a/slo-checker/generic/app/main.py b/slo-checker/generic/app/main.py
index ff9de19b542b9ec150a9a4f46c86c930b1253faa..4c39d739d557eede2d526d40b44af7840c95f01d 100644
--- a/slo-checker/generic/app/main.py
+++ b/slo-checker/generic/app/main.py
@@ -59,6 +59,10 @@ def check_result(result, operator: str, threshold):
         return result > threshold
     if operator == 'gte':
         return result >= threshold
+    if operator == 'true':
+        return True # Mainly used for testing
+    if operator == 'false':
+        return False # Mainly used for testing
     else:
         raise ValueError('Invalid operator string.')