From d10ab8c87222002f760932e3b6736ecc3f4007bc Mon Sep 17 00:00:00 2001 From: Terence Hampson Date: Fri, 30 Aug 2024 12:49:51 -0400 Subject: [PATCH] Remove ipaddr and port from CommisssionNode command in CCTRL_2_2 (#35321) --- src/python_testing/TC_CCTRL_2_2.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/python_testing/TC_CCTRL_2_2.py b/src/python_testing/TC_CCTRL_2_2.py index 8080f9db324ff3..ed4051feda3ebb 100644 --- a/src/python_testing/TC_CCTRL_2_2.py +++ b/src/python_testing/TC_CCTRL_2_2.py @@ -22,7 +22,6 @@ # This test requires a TH_SERVER application. Please specify with --string-arg th_server_app_path: -import ipaddress import logging import os import random @@ -136,9 +135,7 @@ async def test_TC_CCTRL_2_2(self): events = await self.default_controller.ReadEvent(nodeid=self.dut_node_id, events=event_path) self.step(5) - ipaddr = ipaddress.IPv6Address('::1') - cmd = Clusters.CommissionerControl.Commands.CommissionNode( - requestId=1, responseTimeoutSeconds=30, ipAddress=ipaddr.packed, port=self.port) + cmd = Clusters.CommissionerControl.Commands.CommissionNode(requestId=1, responseTimeoutSeconds=30) try: await self.send_single_cmd(cmd) asserts.fail("Unexpected success on CommissionNode")