Skip to content

Commit

Permalink
Fixes #34576 - Added missing step 22 that was in the test plan, but m…
Browse files Browse the repository at this point in the history
…issing in the test script. (#34779)
  • Loading branch information
jamesharrow authored and pull[bot] committed Sep 7, 2024
1 parent 867c143 commit 1405456
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/python_testing/TC_EEVSE_2_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ def steps_TC_EEVSE_2_3(self) -> list[TestStep]:
"Verify Command response is Success and event EEVSE.S.E01(EVNotDetected) sent"),
TestStep("21", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEVSE.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to PIXIT.EEVSE.TEST_EVENT_TRIGGER for Basic Functionality Test Event Clear.",
"Verify Command response is Success"),
TestStep("22", "TH sends TestEventTrigger command to General Diagnostics Cluster on Endpoint 0 with EnableKey field set to PIXIT.EEVSE.TEST_EVENT_TRIGGER_KEY and EventTrigger field set to PIXIT.EEVSE.TEST_EVENT_TRIGGER for for EVSE TimeOfUse Mode Test Event Clear.",
"Verify Command response is Success"),

]

return steps
Expand Down Expand Up @@ -449,6 +452,9 @@ async def test_TC_EEVSE_2_3(self):
self.step("21")
await self.send_test_event_trigger_basic_clear()

self.step("22")
await self.send_test_event_trigger_time_of_use_mode_clear()


if __name__ == "__main__":
default_matter_test_main()
3 changes: 3 additions & 0 deletions src/python_testing/TC_EEVSE_Utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ async def send_test_event_trigger_charge_demand_clear(self):
async def send_test_event_trigger_time_of_use_mode(self):
await self.send_test_event_triggers(eventTrigger=0x0099000000000006)

async def send_test_event_trigger_time_of_use_mode_clear(self):
await self.send_test_event_triggers(eventTrigger=0x0099000000000021)

async def send_test_event_trigger_evse_ground_fault(self):
await self.send_test_event_triggers(eventTrigger=0x0099000000000010)

Expand Down

0 comments on commit 1405456

Please sign in to comment.