fix freefall
This commit is contained in:
parent
ff78e93695
commit
0c763ea98e
|
|
@ -316,6 +316,15 @@ class Test_Leak(Test_Test):
|
||||||
else:
|
else:
|
||||||
ok = type(result) is str and "passed" in result.lower() # NORMAL TEST, OK EXPECTED
|
ok = type(result) is str and "passed" in result.lower() # NORMAL TEST, OK EXPECTED
|
||||||
|
|
||||||
|
# If freefall test is OK, autostart the next test (leak_1)
|
||||||
|
if self.step.step_type == "test_freefall_leak" and ok:
|
||||||
|
# The parent's `get` will advance to the next step.
|
||||||
|
# When the new step (leak_1) starts, we want it to auto-click.
|
||||||
|
# We can't click here because the new step widget is not yet created.
|
||||||
|
# So we set a flag on the parent.
|
||||||
|
if self.parent:
|
||||||
|
self.parent.autostart_next_step = True
|
||||||
|
|
||||||
# SET DIGITAL OUTPUTS
|
# SET DIGITAL OUTPUTS
|
||||||
|
|
||||||
if self.parent.config["hardware_config"].get("external_flush_blow", None) == "present":
|
if self.parent.config["hardware_config"].get("external_flush_blow", None) == "present":
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user