diff --git a/workflow/tests/test_consistency.py b/workflow/tests/test_consistency.py index 5b8b803e5f769a89b0f7673b28846774112c7ae6..073b12826b798ac94d16fda4291dfba2c1a42203 100644 --- a/workflow/tests/test_consistency.py +++ b/workflow/tests/test_consistency.py @@ -24,7 +24,7 @@ def readAssigned(fileAssigned,fileExpectAssigned): expect = open(fileExpectAssigned, "r") lineAssigned = assigned.readline() lineExpect = expect.readline() - if lineAssigned.strip() < (lineExpect.strip()+(lineExpect.strip()*0.00001)) and lineAssigned.strip() > (lineExpect.strip()-(lineExpect.strip()*0.00001)): + if int(lineAssigned.strip()) < (int(lineExpect.strip())+(int(lineExpect.strip())*0.00001)) and int(lineAssigned.strip()) > (int(lineExpect.strip())-(int(lineExpect.strip())*0.00001)): data = True return data