Skip to content

Commit

Permalink
Add command-line argument to allow userprompt at start of ECOINFO_2_1 (
Browse files Browse the repository at this point in the history
…project-chip#35234)

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: saurabhst <[email protected]>
  • Loading branch information
3 people authored Aug 28, 2024
1 parent a7dde85 commit 18a1863
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/python_testing/TC_ECOINFO_2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ async def test_TC_ECOINFO_2_1(self):

self.print_step(0, "Commissioning, already done")

pause_for_pre_condition = self.user_params.get("pause_for_pre_condition", False)
if pause_for_pre_condition:
self.wait_for_user_input(
"Paused test to allow for manufacturer to satisfy precondition where one or more bridged devices of a supported type is connected to DUT")

self.step(1)
endpoint_wild_card_read = await dev_ctrl.ReadAttribute(dut_node_id, [(Clusters.EcosystemInformation.Attributes.ClusterRevision)])
list_of_endpoints = list(endpoint_wild_card_read.keys())
Expand Down

0 comments on commit 18a1863

Please sign in to comment.