aboutsummaryrefslogtreecommitdiffstats
path: root/tests/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/util.py')
-rw-r--r--tests/util.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/util.py b/tests/util.py
index aae87be..a960104 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -12,4 +12,8 @@ class CustomConfigParser(SafeConfigParser):
return value.split(',')
else:
return []
+ if value.lower() in ['yes', 'true', 'on']:
+ return True
+ if value.lower() in ['no', 'false', 'off']:
+ return False
return value