Skip to content

Commit ea01e21

Browse files
authored
Minor fix to an assertion message (#34861)
1 parent 33cce81 commit ea01e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python_testing/matter_testing_support.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def wait_for_report(self):
330330
logging.info(
331331
f"[AttributeChangeCallback] Got attribute subscription report. Attribute {path.AttributeType}. Updated value: {attribute_value}. SubscriptionId: {transaction.subscriptionId}")
332332
except KeyError:
333-
asserts.fail("[AttributeChangeCallback] Attribute {expected_attribute} not found in returned report")
333+
asserts.fail(f"[AttributeChangeCallback] Attribute {self._expected_attribute} not found in returned report")
334334

335335

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

0 commit comments

Comments
 (0)