_stat implementation

This commit is contained in:
gg 2024-07-16 13:08:40 +02:00
parent 4243507d62
commit debafdbf18

View File

@ -83,10 +83,10 @@ class Test_Instructions(Test_Test):
if stat: if stat:
if inverse: if inverse:
self.expected_input_state = False if step and step.type == "instruction" else True self.expected_input_state = False if step and step.type == "instruction" else True
self.show_ok(elem)
else: else:
self.expected_input_state = True if step and step.type == "instruction" else False self.expected_input_state = True if step and step.type == "instruction" else False
self.show_ok(elem)
else: else:
if inverse: if inverse:
if not self.inputs[sensor_index]: if not self.inputs[sensor_index]: