Skip to content

Commit 3659a92

Browse files
committed
isort and lint
1 parent 418fdc4 commit 3659a92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/python_testing/TC_CNET_4_4.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
import logging
1919
import random
2020
import string
21+
from typing import Optional
22+
2123
import chip.clusters as Clusters
2224
from chip.clusters.Types import NullValue
23-
2425
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main, type_matches
2526
from mobly import asserts
26-
from typing import Optional
2727

2828

2929
class TC_CNET_4_4(MatterBaseTest):
@@ -64,7 +64,7 @@ async def test_TC_CNET_4_4(self):
6464

6565
self.step(3)
6666
networks = await self.read_single_attribute_check_success(cluster=cnet, attribute=attr.Networks)
67-
connected = [network for network in networks if network.connected == True]
67+
connected = [network for network in networks if network.connected is True]
6868
asserts.assert_greater_equal(len(connected), 1, "Did not find any connected networks on a commissioned device")
6969
known_ssid = connected[0].networkID
7070

0 commit comments

Comments
 (0)