From b5a7465b7b6c7cfa51b47ec21c642a2052509de8 Mon Sep 17 00:00:00 2001 From: Gui Date: Tue, 16 Apr 2024 14:40:48 -0400 Subject: [PATCH] [fix-testId-not-found] fix: snake_case | att not found (#1157) Co-authored-by: Jeff Zhang <47371088+39bytes@users.noreply.github.com> --- captain/routes/cloud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/captain/routes/cloud.py b/captain/routes/cloud.py index 7a4ec8091..548f19040 100644 --- a/captain/routes/cloud.py +++ b/captain/routes/cloud.py @@ -177,9 +177,9 @@ def make_payload(data: MeasurementData): def get_measurement(m: Measurement) -> MeasurementData: - data = test_sequencer._get_most_recent_data(m.testId) + data = test_sequencer._get_most_recent_data(m.test_id) if not isinstance(data, MeasurementData): - logging.info(f"{m.testId}: Unexpected data type for test data: {type(data)}") + logging.info(f"{m.test_id}: Unexpected data type for test data: {type(data)}") data = m.pass_ return data