Skip to content

Commit

Permalink
Update src/python_testing/matter_testing_infrastructure/chip/testing/…
Browse files Browse the repository at this point in the history
…matter_testing.py


Adding coding change from Cecille!

Co-authored-by: C Freeman <[email protected]>
  • Loading branch information
j-ororke and cecille authored Dec 5, 2024
1 parent a435556 commit d18eaa6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@ def pics_guard(self, pics_condition: bool):
self.mark_current_step_skipped()
return pics_condition

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

0 comments on commit d18eaa6

Please sign in to comment.