ST-TEN-2 AUTOTEST TEXT BLUE

This commit is contained in:
edo-neo 2025-09-17 09:56:24 +02:00
parent 5c2309f441
commit f65db567db

View File

@ -40,11 +40,11 @@ class Test_Resistance(Test_Test):
if expected == 1e9:
self.ok_counter_limit = 1
if self.parent_assembly_widget is not None:
self.parent_assembly_widget().set_text("AUTOTEST: SCOLLEGARE IL CONNETTORE DI PROVA")
self.parent_assembly_widget().set_text("AUTOTEST: SCOLLEGARE IL CONNETTORE DI PROVA", bg_color="blue", text_color="white")
else:
self.ok_counter_limit = 3
if self.parent_assembly_widget is not None:
self.parent_assembly_widget().set_text("AUTOTEST: VERIFICARE CONTROLLO RESISTENZA DI PROVA")
self.parent_assembly_widget().set_text("AUTOTEST: VERIFICARE CONTROLLO RESISTENZA DI PROVA", bg_color="blue", text_color="white")
self.expected_l.setText(f"{expected}")
tolerance_pos = self.step.spec.get("tolerance_pos", "-")
tolerance_neg = self.step.spec.get("tolerance_neg", "-")