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, 2 insertions, 2 deletions
diff --git a/tests/util.py b/tests/util.py
index a960104..6690eed 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -12,8 +12,8 @@ class CustomConfigParser(SafeConfigParser):
return value.split(',')
else:
return []
- if value.lower() in ['yes', 'true', 'on']:
+ if value.lower() in ['yes', 'true', 'on', '1']:
return True
- if value.lower() in ['no', 'false', 'off']:
+ if value.lower() in ['no', 'false', 'off', '0']:
return False
return value