Skip to content

Commit

Permalink
fix step 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Khodyrev committed Feb 1, 2025
1 parent c26a9b9 commit 7cb1c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python_testing/TC_CNET_4_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async def test_TC_CNET_4_3(self):
matter_asserts.assert_all(networks, lambda x: isinstance(x.networkID, bytes) and 1 <= len(x.networkID) <= 32,
"NetworkID field is an octet string within a length range 1 to 32")
connected_networks_count = sum(map(lambda x: x.connected, networks))
asserts.assert_less_equal(connected_networks_count, 1, "Verify that only one entry has connected status as TRUE")
asserts.assert_equal(connected_networks_count, 1, "Verify that only one entry has connected status as TRUE")
asserts.assert_less_equal(len(networks), max_networks_count,
"Number of entries in the Networks attribute is less than or equal to 'MaxNetworksValue'")

Expand Down

0 comments on commit 7cb1c4a

Please sign in to comment.