From 27a12ae85b6f07ced40bd66b40f9932d9490b417 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Wed, 19 Dec 2012 13:47:17 +0000 Subject: [PATCH] restyling --- lib/core/testing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/core/testing.py b/lib/core/testing.py index fdb036530..76407dd87 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -209,15 +209,18 @@ def runCase(switches=None, parse=None): ifile = open(conf.dumper.getOutputFile(), "rb") content = ifile.read() ifile.close() + for item in parse: if item.startswith("r'") and item.endswith("'"): if not re.search(item[2:-1], content, re.DOTALL): retVal = False failedItem = item + break elif content.find(item) < 0: retVal = False failedItem = item + break cleanCase()