Skip to content

Commit d18eaa6

Browse files
j-ororkececille
andauthored
Update src/python_testing/matter_testing_infrastructure/chip/testing/matter_testing.py
Adding coding change from Cecille! Co-authored-by: C Freeman <cecille@google.com>
1 parent a435556 commit d18eaa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python_testing/matter_testing_infrastructure/chip/testing/matter_testing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ def pics_guard(self, pics_condition: bool):
14551455
self.mark_current_step_skipped()
14561456
return pics_condition
14571457

1458-
async def attributes_guard(self, endpoint: int, attribute: str):
1458+
async def attribute_guard(self, endpoint: int, attribute: ClusterObjects.ClusterAttributeDescriptor):
14591459
"""Similar to pics_guard above, except checks a condition and if False marks the test step as skipped and
14601460
returns False using attributes against attributes_list, otherwise returns True.
14611461
For example can be used to check if a test step should be run:

0 commit comments

Comments
 (0)