From 6cc366f3015d13d7845380f4b2e031ccdceee59b Mon Sep 17 00:00:00 2001 From: James Harrow Date: Thu, 29 Aug 2024 17:30:04 +0100 Subject: [PATCH] Removed duplicate steps 10a/10b and aligned to test plan. --- src/python_testing/TC_EWATERHTR_2_2.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/python_testing/TC_EWATERHTR_2_2.py b/src/python_testing/TC_EWATERHTR_2_2.py index f502aabddfedca..8c96e52d4524c8 100644 --- a/src/python_testing/TC_EWATERHTR_2_2.py +++ b/src/python_testing/TC_EWATERHTR_2_2.py @@ -90,9 +90,7 @@ def steps_TC_EWATERHTR_2_2(self) -> list[TestStep]: "Event EWATERHTR.S.E00(BoostEnded) sent"), TestStep("10a", "TH reads from the DUT the HeatDemand", "Value has to be 0x00 (no demand on any source)"), - TestStep("10b", "TH reads from the DUT the HeatDemand", - "Value has to be 0x00 (no demand on any source)"), - TestStep("10c", "TH reads from the DUT the BoostState", + TestStep("10b", "TH reads from the DUT the BoostState", "Value has to be 0 (Inactive)"), TestStep("11", "TH sends command Boost with Duration=600s,OneShot=True", "Verify DUT responds w/ status SUCCESS(0x00) and Event EWATERHTR.S.E00(BoostStarted) sent with Duration=600 and OneShot=True"), @@ -267,15 +265,13 @@ async def test_TC_EWATERHTR_2_2(self): self.step("10") time.sleep(6) - - self.step("10a") event_data = events_callback.wait_for_event_report(Clusters.WaterHeaterManagement.Events.BoostEnded) - self.step("10b") + self.step("10a") heatDemand = await self.read_whm_attribute_expect_success(attribute="HeatDemand") asserts.assert_equal(heatDemand, 0) - self.step("10c") + self.step("10b") await self.check_whm_attribute("BoostState", Clusters.WaterHeaterManagement.Enums.BoostStateEnum.kInactive) self.step("11")