We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05fc075 commit 330b116Copy full SHA for 330b116
1 file changed
tests/system_health/test_system_health.py
@@ -69,6 +69,7 @@
69
'booting': 'red'
70
}
71
72
+
73
@pytest.fixture(autouse=True, scope="module")
74
def check_image_version(duthost):
75
"""Skip the test for unsupported images."""
@@ -532,7 +533,8 @@ def check_system_health_led_info(duthost):
532
533
else:
534
# Logic for faulted system: Iterate through led_cfg to find a match among non-normal keys
535
not_normal = {color for key, color in led_cfg.items() if key != "normal"}
- assert system_status_lower in not_normal, f"System status LED '{system_led_status}' does not match any non-normal colors defined in config: {not_normal}"
536
+ assert system_status_lower in not_normal, \
537
+ f"System status LED '{system_led_status}' does not match any colors defined in config: {not_normal}"
538
539
return True
540
0 commit comments