diff --git a/aglais_benchmark/aglais_benchmark.py b/aglais_benchmark/aglais_benchmark.py index 3cd2db6..64186a3 100644 --- a/aglais_benchmark/aglais_benchmark.py +++ b/aglais_benchmark/aglais_benchmark.py @@ -200,8 +200,8 @@ def _run_single(self, iterable=0, concurrent=False): for i, cell in enumerate(output): md5hash = hashlib.md5(str(cell).encode('utf-8')).hexdigest() if md5hash != expected_output.get(str(i),""): - valid = "FALSE" if expected_output.get(str(i),"")!="": + valid = "FALSE" msg += "Expected/Actual output missmatch of cell #" + str(i) + "! " results[name] = {"totaltime" : "{:.2f}".format(totaltime), "status" : status, "msg" : msg, "valid" : valid }