a04d7efddc
**- 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 |
||
---|---|---|
.. | ||
__init__.py | ||
duplicate_action.json | ||
duplicate_condition.json | ||
empty_action.json | ||
empty_condition.json | ||
mock_platform.py | ||
policy_with_same_conditions.json | ||
test_fan_api.py | ||
test_thermal_policy.py | ||
thermal_policy.json |