Skip to content

Commit cc82181

Browse files
committed
Minor fix to an assertion message
1 parent e0a765b commit cc82181

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
@@ -329,7 +329,7 @@ def wait_for_report(self):
329329
logging.info(
330330
f"[AttributeChangeCallback] Got attribute subscription report. Attribute {path.AttributeType}. Updated value: {attribute_value}. SubscriptionId: {transaction.subscriptionId}")
331331
except KeyError:
332-
asserts.fail("[AttributeChangeCallback] Attribute {expected_attribute} not found in returned report")
332+
asserts.fail(f"[AttributeChangeCallback] Attribute {self._expected_attribute} not found in returned report")
333333

334334

335335
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)