diff --git a/src/python_testing/TC_CNET_1_4.py b/src/python_testing/TC_CNET_1_4.py index 0122f7c90c5e2a..2065587bd4a02d 100644 --- a/src/python_testing/TC_CNET_1_4.py +++ b/src/python_testing/TC_CNET_1_4.py @@ -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: