recipe written fix

This commit is contained in:
neo-dl 2023-08-09 11:00:34 +02:00
parent f04a58f234
commit f34403a16c

View File

@ -157,8 +157,10 @@ class Test_Leak(Test_Test):
step=self.step.spec.get("autotest", "")
if step == "ok_check":
ok = type(result) is str and "passed" in result.lower() # AUTOTEST - NO LEAK
self.recipe_written=False
elif step == "ko_check":
ok = type(result) is str and "passed" in result.lower() # AUTOTEST - LEAK
self.recipe_written=False
else:
ok = type(result) is str and "passed" in result.lower() # NORMAL TEST