Skip to content

Commit

Permalink
impl step 8
Browse files Browse the repository at this point in the history
  • Loading branch information
khodya committed Feb 1, 2025
1 parent 94c09f1 commit c26a9b9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/python_testing/TC_CNET_4_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def steps_TC_CNET_4_3(self) -> list[TestStep]:
TestStep(4, "TH reads the Networks attribute list from the DUT"),
TestStep(5, "TH reads InterfaceEnabled attribute from the DUT"),
TestStep(6, "TH reads LastNetworkingStatus attribute from the DUT"),
TestStep(7, "TH reads the LastNetworkID attribute from the DUT")
TestStep(7, "TH reads the LastNetworkID attribute from the DUT"),
TestStep(8, "TH reads the LastConnectErrorValue attribute from the DUT")
]
return steps

Expand Down Expand Up @@ -125,6 +126,12 @@ async def test_TC_CNET_4_3(self):
asserts.assert_is(last_network_id, NullValue,
"Verify if the Networks attribute list is Empty, then LastNetworkID attribute value is null")

self.step(8)
last_connect_error_value = await self.read_single_attribute_check_success(
cluster=Clusters.NetworkCommissioning,
attribute=Clusters.NetworkCommissioning.Attributes.LastConnectErrorValue)
asserts.assert_is(last_connect_error_value, NullValue, "Verify that LastConnectErrorValue attribute value is null")


if __name__ == "__main__":
default_matter_test_main()

0 comments on commit c26a9b9

Please sign in to comment.