Skip to content

Commit 9519673

Browse files
committed
Update TC_CADMIN_1_5 test module:
- Resolving linting errors
1 parent f20a42f commit 9519673

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/python_testing/TC_CADMIN_1_5.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
from chip import ChipDeviceCtrl
3939
from chip.exceptions import ChipStackError
4040
from chip.interaction_model import InteractionModelError as IME
41-
from chip.native import PyChipError
4241
from chip.testing.matter_testing import MatterBaseTest, TestStep, async_test_body, default_matter_test_main
4342
from mdns_discovery import mdns_discovery
4443
from mobly import asserts
@@ -72,7 +71,8 @@ async def SnakeCase(self, setup_code: int, discriminator: int, expected_error: i
7271
filterType=ChipDeviceCtrl.DiscoveryFilterType.LONG_DISCRIMINATOR, filter=discriminator)
7372

7473
except ae.CancelledError as e:
75-
errcode = e.__cause__
74+
# This is expected to fail due to timeout, however there is no code to validate here, so just passing since the correct exception was raised to get to this point
75+
pass
7676

7777
def steps_TC_CADMIN_1_5(self) -> list[TestStep]:
7878
return [

0 commit comments

Comments
 (0)