mirror of
https://github.com/lkddi/dell-fans-controller-docker.git
synced 2026-05-18 21:57:29 +08:00
降低iDRAC会话压力并开放重试配置
This commit is contained in:
@@ -49,6 +49,11 @@ class FanControllerConfigTest(unittest.TestCase):
|
||||
with self.assertRaises(ValueError):
|
||||
self.make_controller(invalid_value)
|
||||
|
||||
def test_raw_fan_duty_query_is_disabled_by_default(self):
|
||||
controller = self.make_controller()
|
||||
|
||||
self.assertFalse(controller.use_raw_fan_duty)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user