Skip to content

Commit

Permalink
Fix Linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Aug 2, 2024
1 parent 22d3ed3 commit 12509a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/python_testing/TC_ICDM_3_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
# === END CI TEST ARGUMENTS ===

import logging
import os
from dataclasses import dataclass

import chip.clusters as Clusters
Expand Down Expand Up @@ -194,7 +193,7 @@ async def test_TC_ICDM_3_3(self):
self.step("2a")
try:
await self._send_single_icdm_command(commands.RegisterClient(checkInNodeID=client2.checkInNodeID, monitoredSubject=client2.subjectId, key=client2.key, clientType=client2.clientType))
except:
except InteractionModelError as e:
asserts.assert_equal(
e.status, Status.Success, "Unexpected error returned")

Expand Down Expand Up @@ -361,7 +360,7 @@ async def test_TC_ICDM_3_3(self):
# Reset ACLs
try:
await self.default_controller.WriteAttribute(nodeid=self.dut_node_id, attributes=[(0, ac.Attributes.Acl(previousAcl))])
except:
except InteractionModelError as e:
asserts.assert_equal(
e.status, Status.Success, "Unexpected error returned")

Expand Down

0 comments on commit 12509a1

Please sign in to comment.