Skip to content

Commit

Permalink
Allow use of already commissioned device in TC_DeviceBasicComposition (
Browse files Browse the repository at this point in the history
…#27919)

Testcase adjusted to allow commissioned device in test instead of PASE based device
  • Loading branch information
tima-q authored and pull[bot] committed Feb 9, 2024
1 parent 443da4b commit 4f94156
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python_testing/TC_DeviceBasicComposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ async def setup_class(self):
dev_ctrl = self.default_controller
self.problems = []

# TODO: Handle already commissioned devices and add argument to specify "let's do PASE"
do_test_over_pase = self.user_params.get("use_pase_only", True)
dump_device_composition_path: Optional[str] = self.user_params.get("dump_device_composition_path", None)

Expand Down Expand Up @@ -213,7 +212,8 @@ async def setup_class(self):
else:
asserts.fail("Failed to find the DUT according to command line arguments.")
else:
asserts.fail("TODO: Support testing on already commissioned devices")
# Using the already commissioned node
node_id = self.dut_node_id

wildcard_read = (await dev_ctrl.Read(node_id, [()]))
endpoints_tlv = wildcard_read.tlvAttributes
Expand Down

0 comments on commit 4f94156

Please sign in to comment.