test-network: fix use of undeclared variable

This commit is contained in:
Yu Watanabe
2022-10-31 12:13:15 +09:00
parent dee6c26f3e
commit d7ff72ec9c

View File

@@ -839,7 +839,6 @@ class Utilities():
if re.search(rf'(?m)^\s*State:\s+{operstate}\s+\({setup_state}\)\s*$', output):
return True
print(output)
if fail_assert:
self.fail(f'Timed out waiting for {link} to reach state {operstate}/{setup_state}')
return False