Skip to content

Commit

Permalink
Updated TC_CADMIN_1_3_4 test module:
Browse files Browse the repository at this point in the history
- Updating to resolve some linting issues
  • Loading branch information
j-ororke committed Oct 9, 2024
1 parent 510f4f1 commit 7a74ef3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/python_testing/TC_CADMIN_1_3_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
# --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
# === END CI TEST ARGUMENTS ===

import asyncio
import logging
import random
from time import sleep
Expand All @@ -40,7 +39,6 @@
from chip.ChipDeviceCtrl import CommissioningParameters
from chip.exceptions import ChipStackError
from chip.interaction_model import Status
from chip.native import PyChipError
from chip.tlv import TLVReader
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main
from mdns_discovery import mdns_discovery
Expand All @@ -49,7 +47,6 @@
opcreds = Clusters.OperationalCredentials
nonce = random.randbytes(32)


class TC_CADMIN_1_3_4(MatterBaseTest):
async def CommissionAttempt(
self, setupPinCode: int, thnum: int, th: str, fail: bool):
Expand Down Expand Up @@ -319,7 +316,7 @@ async def test_TC_CADMIN_1_4(self):

self.step("3a")
obcCmd = Clusters.AdministratorCommissioning.Commands.OpenBasicCommissioningWindow(180)
obc = await self.th1.SendCommand(nodeid=self.dut_node_id, endpoint=0, payload=obcCmd, timedRequestTimeoutMs=6000)
await self.th1.SendCommand(nodeid=self.dut_node_id, endpoint=0, payload=obcCmd, timedRequestTimeoutMs=6000)

self.step("3b")
services = await self.get_txt_record()
Expand Down

0 comments on commit 7a74ef3

Please sign in to comment.