Skip to content

Commit

Permalink
Removed duplicate steps 10a/10b and aligned to test plan.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesharrow committed Aug 29, 2024
1 parent c479db2 commit 6cc366f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/python_testing/TC_EWATERHTR_2_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 6cc366f

Please sign in to comment.