From e82cbf617c8b04036f428822a5cf96fd9d16ba0c Mon Sep 17 00:00:00 2001 From: Julien Perrochet Date: Mon, 15 Jul 2024 12:37:46 +0200 Subject: [PATCH] [uss_qualifier] acces proper activity result field in down_uss.py (#731) Read the correct field when running the check for the planned activity's result --- .../scenarios/astm/utm/off_nominal_planning/down_uss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring/uss_qualifier/scenarios/astm/utm/off_nominal_planning/down_uss.py b/monitoring/uss_qualifier/scenarios/astm/utm/off_nominal_planning/down_uss.py index 1f64c7d93a..9f8635a2aa 100644 --- a/monitoring/uss_qualifier/scenarios/astm/utm/off_nominal_planning/down_uss.py +++ b/monitoring/uss_qualifier/scenarios/astm/utm/off_nominal_planning/down_uss.py @@ -267,7 +267,7 @@ def _plan_flight_conflict_planned(self): with self.check( "Rejected planning", [self.tested_uss.participant_id] ) as check: - msg = f"{self.tested_uss.participant_id} indicated {resp.result}" + msg = f"{self.tested_uss.participant_id} indicated {resp.activity_result}" if "notes" in resp and resp.notes: msg += f' with notes "{resp.notes}"' else: