Skip to content

Commit

Permalink
Update src/python_testing/TC_CNET_1_4.py
Browse files Browse the repository at this point in the history
Co-authored-by: René Josefsen <[email protected]>
  • Loading branch information
DejinChen and ReneJosefsen authored Jul 18, 2024
1 parent 54a8f19 commit fa3ed3a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/python_testing/TC_CNET_1_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,9 @@ async def test_TC_CNET_1_4(self):
# Commissioning is already done
self.step(1)

cnet = Clusters.NetworkCommissioning
afeam = cnet.Attributes.FeatureMap

self.step(2)
# Read FeatureMap attribute with wildcard endpoint
feature_map_results = await self.default_controller.ReadAttribute(self.dut_node_id, [(afeam)], fabricFiltered=True)
feature_map_results = await self.default_controller.ReadAttribute(self.dut_node_id, [(Clusters.NetworkCommissioning.Attributes.FeatureMap)], fabricFiltered=True)

NumNetworkCommissioning = len(feature_map_results)
if NumNetworkCommissioning == 0:
Expand Down

0 comments on commit fa3ed3a

Please sign in to comment.