Esempio n. 1
0
 def test_in_limits_None(self, param: HtParam):
     assert param.in_limits(None)
Esempio n. 2
0
 async def test_get_param(self, hthp: AioHtHeatpump, name: str, param: HtParam):
     value = await hthp.get_param_async(name)
     assert value is not None, "'value' must not be None"
     assert param.in_limits(value)
Esempio n. 3
0
 def test_in_limits(self, name: str, param: HtParam):
     assert param.in_limits(param.min_val)
     assert param.in_limits(param.max_val)