sonic-buildimage/platform/mellanox/mlnx-platform-api/tests
Junchao-Mellanox 6d4c20efb1
Fix dynamic minimum fan table issue caused by python3 (#6690)
**- Why I did it**
After migrating to python3, the operator '/' always get a float result, but it gets integer result in python2. Need fix this in thermal_conditions.

**- How I did it**
1. cast float value to int
2. change the unit test case to cover this situation

**- How to verify it**
Manually test and regression test
2021-02-07 11:21:44 +02:00
..
__init__.py Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00
duplicate_action.json [Mellanox] Fix thermal control bugs (#4298) 2020-03-25 10:54:07 -07:00
duplicate_condition.json [Mellanox] Fix thermal control bugs (#4298) 2020-03-25 10:54:07 -07:00
empty_action.json [Mellanox] Fix thermal control bugs (#4298) 2020-03-25 10:54:07 -07:00
empty_condition.json [Mellanox] Fix thermal control bugs (#4298) 2020-03-25 10:54:07 -07:00
mock_platform.py [Mellanox] Enhancement for fan led management (#4437) 2020-05-13 10:01:32 -07:00
policy_with_same_conditions.json [Mellanox] Fix thermal control bugs (#4298) 2020-03-25 10:54:07 -07:00
test_fan_api.py [Mellanox] Implement new platform API for SONiC physical entity mib extension (#5645) 2020-11-16 18:56:03 -08:00
test_thermal_policy.py Fix dynamic minimum fan table issue caused by python3 (#6690) 2021-02-07 11:21:44 +02:00
thermal_policy.json [Mellanox] thermal control enhancement for dynamic minimum fan speed and PSU fan speed policy (#4403) 2020-04-21 08:09:53 -07:00