Skip to content

Commit 36eddf5

Browse files
authored
CADOM_1_19.py: Read correct attribute to verify fabric creation (project-chip#36982)
Wrong attribute was read
1 parent e7f6d0e commit 36eddf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python_testing/TC_CADMIN_1_19.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ async def test_TC_CADMIN_1_19(self):
124124

125125
self.step(5)
126126
# TH reads the CommissionedFabrics attributes from the Node Operational Credentials cluster
127-
current_fabrics = await self.read_single_attribute_check_success(dev_ctrl=self.th1, fabric_filtered=False, endpoint=0, cluster=OC_cluster, attribute=OC_cluster.Attributes.SupportedFabrics)
127+
current_fabrics = await self.read_single_attribute_check_success(dev_ctrl=self.th1, fabric_filtered=False, endpoint=0, cluster=OC_cluster, attribute=OC_cluster.Attributes.CommissionedFabrics)
128128
asserts.assert_equal(current_fabrics, max_fabrics, "Expected number of fabrics not correct")
129129

130130
self.step(6)

0 commit comments

Comments
 (0)