We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11bd789 commit 4476828Copy full SHA for 4476828
src/python_testing/TC_MWOCTRL_2_2.py
@@ -130,7 +130,7 @@ async def test_TC_MWOCTRL_2_2(self):
130
powerStepValue = await self.read_mwoctrl_attribute_expect_success(endpoint=endpoint, attribute=attributes.PowerStep)
131
asserts.assert_greater_equal(powerStepValue, 1, "PowerStep is less than 1")
132
asserts.assert_less_equal(powerStepValue, maxPowerValue, "PowerStep is greater than MaxPower")
133
- asserts.assert_true((MaxPower - MinPower) % PowerStep == 0, "PowerStep is not correct for MaxPower - MinPower")
+ asserts.assert_true((maxPowerValue - minPowerValue) % powerStepValue == 0, "PowerStep is not correct for MaxPower - MinPower")
134
logging.info("PowerStep is %s" % powerStepValue)
135
136
self.step(8)
0 commit comments