Description
A few SFP related platform APIs return value according to its capability. For example, a SFP might not support temperature sensor, or a SFP might not support reading its voltage... However, in test_thermal.py and test_sfp.py, the related test case always expect a "real" value, and will fail if it get None or other empty value (such as empty list, empty dict). As we will have different type SFP in testbed, and the SFP capability may not fully support all platform APIs, please consider whether such strict check is necessary.
Description
A few SFP related platform APIs return value according to its capability. For example, a SFP might not support temperature sensor, or a SFP might not support reading its voltage... However, in test_thermal.py and test_sfp.py, the related test case always expect a "real" value, and will fail if it get None or other empty value (such as empty list, empty dict). As we will have different type SFP in testbed, and the SFP capability may not fully support all platform APIs, please consider whether such strict check is necessary.