From 0200800656ff1add2df9c662ade6a52a2adb9f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20S=C3=A1nchez?= Date: Fri, 3 Jul 2015 13:22:02 +0200 Subject: Fixed _result_to_bool() assertion when a values has some strange status --- parrot_zik/model/base.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'parrot_zik/model') diff --git a/parrot_zik/model/base.py b/parrot_zik/model/base.py index d722788..fdacde0 100644 --- a/parrot_zik/model/base.py +++ b/parrot_zik/model/base.py @@ -44,6 +44,8 @@ class ParrotZikBase(object): return True elif result == "false": return False + elif result == "invalid_on": + return True else: raise AssertionError(result) -- cgit v1.2.1