Skip to content

Commit

Permalink
Minor fix to an assertion message (#34861)
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille authored Aug 8, 2024
1 parent 33cce81 commit ea01e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python_testing/matter_testing_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def wait_for_report(self):
logging.info(
f"[AttributeChangeCallback] Got attribute subscription report. Attribute {path.AttributeType}. Updated value: {attribute_value}. SubscriptionId: {transaction.subscriptionId}")
except KeyError:
asserts.fail("[AttributeChangeCallback] Attribute {expected_attribute} not found in returned report")
asserts.fail(f"[AttributeChangeCallback] Attribute {self._expected_attribute} not found in returned report")


def await_sequence_of_reports(report_queue: queue.Queue, endpoint_id: int, attribute: TypedAttributePath, sequence: list[Any], timeout_sec: float):
Expand Down

0 comments on commit ea01e21

Please sign in to comment.