Skip to content

Commit 6cc366f

Browse files
committed
Removed duplicate steps 10a/10b and aligned to test plan.
1 parent c479db2 commit 6cc366f

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/python_testing/TC_EWATERHTR_2_2.py

+3-7
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ def steps_TC_EWATERHTR_2_2(self) -> list[TestStep]:
9090
"Event EWATERHTR.S.E00(BoostEnded) sent"),
9191
TestStep("10a", "TH reads from the DUT the HeatDemand",
9292
"Value has to be 0x00 (no demand on any source)"),
93-
TestStep("10b", "TH reads from the DUT the HeatDemand",
94-
"Value has to be 0x00 (no demand on any source)"),
95-
TestStep("10c", "TH reads from the DUT the BoostState",
93+
TestStep("10b", "TH reads from the DUT the BoostState",
9694
"Value has to be 0 (Inactive)"),
9795
TestStep("11", "TH sends command Boost with Duration=600s,OneShot=True",
9896
"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):
267265

268266
self.step("10")
269267
time.sleep(6)
270-
271-
self.step("10a")
272268
event_data = events_callback.wait_for_event_report(Clusters.WaterHeaterManagement.Events.BoostEnded)
273269

274-
self.step("10b")
270+
self.step("10a")
275271
heatDemand = await self.read_whm_attribute_expect_success(attribute="HeatDemand")
276272
asserts.assert_equal(heatDemand, 0)
277273

278-
self.step("10c")
274+
self.step("10b")
279275
await self.check_whm_attribute("BoostState", Clusters.WaterHeaterManagement.Enums.BoostStateEnum.kInactive)
280276

281277
self.step("11")

0 commit comments

Comments
 (0)