aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py
index ccc3b7c1..b950f8bd 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -906,6 +906,10 @@ class WycheproofTest(object):
def acceptable(self):
return self.testcase["result"] == "acceptable"
+ @property
+ def invalid(self):
+ return self.testcase["result"] == "invalid"
+
def has_flag(self, flag):
return flag in self.testcase["flags"]