From 447682817fe6853a6068978160ae630fb9d2e465 Mon Sep 17 00:00:00 2001 From: Rob Bultman Date: Wed, 8 May 2024 15:07:36 -0400 Subject: [PATCH] Fix names --- src/python_testing/TC_MWOCTRL_2_2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python_testing/TC_MWOCTRL_2_2.py b/src/python_testing/TC_MWOCTRL_2_2.py index 099c283140d770..4a01be3a8fca82 100644 --- a/src/python_testing/TC_MWOCTRL_2_2.py +++ b/src/python_testing/TC_MWOCTRL_2_2.py @@ -130,7 +130,7 @@ async def test_TC_MWOCTRL_2_2(self): powerStepValue = await self.read_mwoctrl_attribute_expect_success(endpoint=endpoint, attribute=attributes.PowerStep) asserts.assert_greater_equal(powerStepValue, 1, "PowerStep is less than 1") asserts.assert_less_equal(powerStepValue, maxPowerValue, "PowerStep is greater than MaxPower") - 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") logging.info("PowerStep is %s" % powerStepValue) self.step(8)