Remove ipaddr and port from CommisssionNode command in CCTRL_2_2 (#35321)
diff --git a/src/python_testing/TC_CCTRL_2_2.py b/src/python_testing/TC_CCTRL_2_2.py
index 8080f9d..ed4051f 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:<path_to_app>
-import ipaddress
import logging
import os
import random
@@ -136,9 +135,7 @@
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")