Skip to content

Commit

Permalink
Remove ipaddr and port from CommisssionNode command in CCTRL_2_2 (pro…
Browse files Browse the repository at this point in the history
  • Loading branch information
tehampson authored and shgutte committed Sep 10, 2024
1 parent da03d30 commit d10ab8c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/python_testing/TC_CCTRL_2_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit d10ab8c

Please sign in to comment.