This commit is contained in:
neo-dl 2023-09-19 17:22:02 +02:00
parent abd74805aa
commit a385cce080

View File

@ -455,7 +455,8 @@ class Test(Widget):
self.log.info(f"cycle recipe: cycle recipe: {model_to_dict(self.recipe)!r} cycle steps: {[model_to_dict(s) for s in self.cycle_steps]}")
self.recipe_l.setText(self.recipe.name)
self.recipe_l.setStyleSheet("")
self.next()
#self.next()
self.change_recipe()
else:
self.log.info(f"cycle recipe: cycle recipe: {self.recipe!r} cycle steps: {self.cycle_steps}")
self.recipe_l.setText("NON SELEZIONATA")
@ -577,9 +578,9 @@ class Test(Widget):
def print(self, archived, label):
self.log.info("cycle print")
if archived.label is not None:
raise AssertionError("this should never happen")
self.components["label_printer"].print_label(archived.label, context=None)
self.log.info("cycle printed already compiled label")
# raise AssertionError("this should never happen")
self.log.debug("ERROR cycle printed already compiled label")
# LABEL PRINT
recipe = archived.test_data.get("recipe", {})
leak_test_1 = archived.test_data.get("leak_1", {})