From 7a74ef3a2e57c6325b024f3bb9d648886f706e6d Mon Sep 17 00:00:00 2001 From: Jake Ororke Date: Wed, 9 Oct 2024 10:24:58 -0700 Subject: [PATCH] Updated TC_CADMIN_1_3_4 test module: - Updating to resolve some linting issues --- src/python_testing/TC_CADMIN_1_3_4.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/python_testing/TC_CADMIN_1_3_4.py b/src/python_testing/TC_CADMIN_1_3_4.py index 67e13bdc602914..9dd37c2798b41c 100644 --- a/src/python_testing/TC_CADMIN_1_3_4.py +++ b/src/python_testing/TC_CADMIN_1_3_4.py @@ -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 @@ -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 @@ -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): @@ -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()