Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TC-EEVSE_2_3 - Fixes #34576 Added missing step 22 #34779

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/python_testing/TC_EEVSE_2_3.py
Original file line number Diff line number Diff line change
@@ -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
@@ -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
@@ -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)