Skip to content

Commit a79c1a8

Browse files
authored
Remove ipaddr and port from CommisssionNode command in CCTRL_2_2 (#35321)
1 parent 3b72a61 commit a79c1a8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/python_testing/TC_CCTRL_2_2.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
# This test requires a TH_SERVER application. Please specify with --string-arg th_server_app_path:<path_to_app>
2424

25-
import ipaddress
2625
import logging
2726
import os
2827
import random
@@ -136,9 +135,7 @@ async def test_TC_CCTRL_2_2(self):
136135
events = await self.default_controller.ReadEvent(nodeid=self.dut_node_id, events=event_path)
137136

138137
self.step(5)
139-
ipaddr = ipaddress.IPv6Address('::1')
140-
cmd = Clusters.CommissionerControl.Commands.CommissionNode(
141-
requestId=1, responseTimeoutSeconds=30, ipAddress=ipaddr.packed, port=self.port)
138+
cmd = Clusters.CommissionerControl.Commands.CommissionNode(requestId=1, responseTimeoutSeconds=30)
142139
try:
143140
await self.send_single_cmd(cmd)
144141
asserts.fail("Unexpected success on CommissionNode")

0 commit comments

Comments
 (0)