diff --git a/tests/platform_tests/api/test_sfp.py b/tests/platform_tests/api/test_sfp.py index 73283ebf75d..ed4075bee9b 100644 --- a/tests/platform_tests/api/test_sfp.py +++ b/tests/platform_tests/api/test_sfp.py @@ -258,6 +258,17 @@ class TestSfpApi(PlatformApiTestBase): 'supported_max_tx_power' ] + # EXPECTED INNOLIGHT COMMON_INFO_KEYS + INNOLIGHT_EXPECTED_XCVR_THRESHOLD_INFO_KEYS = [ + 'postfecberlowalarm', + 'postfecberlowwarning', + 'prefecberhighwarning', + 'postfecberhighalarm', + 'prefecberlowalarm', + 'postfecberhighwarning', + 'prefecberhighalarm', + 'prefecberlowwarning' + ] chassis_facts = None duthost_vars = None @@ -484,6 +495,8 @@ def test_get_transceiver_threshold_info(self, duthosts, enum_rand_one_per_hwsku_ in redis TRANSCEIVER_DOM_THRESHOLD table. Skipping this transceiver") continue expected_keys += self.QSFPZR_EXPECTED_XCVR_THRESHOLD_INFO_KEYS + if 'PINEWAVE' in info_dict['manufacturer']: + expected_keys += self.INNOLIGHT_EXPECTED_XCVR_THRESHOLD_INFO_KEYS missing_keys = set(expected_keys) - set(actual_keys) for key in missing_keys: