Skip to content

Commit

Permalink
Fix common_data_dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminPelletier committed Dec 13, 2023
1 parent afdff38 commit b72570d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ v1:
artifacts:
output_path: output/message_signing
raw_report: {}
sequence_view: {}
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ def _evaluate_uas_id(self, value: Optional[UASID], participants: List[str]):
if not SerialNumber(serial_number).valid:
check.record_failed(
f"Invalid uas_id serial number: {serial_number}",
participants=participants,
severity=Severity.Medium,
)
else:
Expand Down Expand Up @@ -322,7 +321,7 @@ def _evaluate_arbitrary_uas_id(
self._test_scenario.check(
"UAS ID (Serial Number format) consistency with Common Dictionary",
participants,
).record_passed(participants)
).record_passed()

if value_obs is not None:
with self._test_scenario.check(
Expand Down Expand Up @@ -750,6 +749,7 @@ def _evaluate_operational_status(
if not value_obs == value_inj:
check.record_failed(
"Observed operational status inconsistent with injected one",
severity=Severity.Medium,
details=f"Injected operational status: {value_inj} - Observed {value_obs}",
)

Expand Down

0 comments on commit b72570d

Please sign in to comment.