From d9c8ea8fdee21c5f4d26a359dc58385da60e8f67 Mon Sep 17 00:00:00 2001 From: Punam Verma Date: Wed, 20 Dec 2023 11:44:38 -0800 Subject: [PATCH] [uss_qualifier] Set default value of optional args in OpIntentValidator methods (#430) Set default value of optional args in OpIntentValidator methods --- monitoring/uss_qualifier/scenarios/astm/utm/test_steps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitoring/uss_qualifier/scenarios/astm/utm/test_steps.py b/monitoring/uss_qualifier/scenarios/astm/utm/test_steps.py index 3a3a7fd8f2..a760e0943b 100644 --- a/monitoring/uss_qualifier/scenarios/astm/utm/test_steps.py +++ b/monitoring/uss_qualifier/scenarios/astm/utm/test_steps.py @@ -273,7 +273,7 @@ def expect_shared_with_invalid_data( self, flight_intent: Union[InjectFlightRequest, FlightInfo], validation_failure_type: OpIntentValidationFailureType, - invalid_fields: Optional[List], + invalid_fields: Optional[List] = None, skip_if_not_found: bool = False, ) -> Optional[OperationalIntentReference]: """Validate that operational intent information was shared with dss, @@ -500,7 +500,7 @@ def _expected_validation_failure_found( self, validation_failures: Set[OpIntentValidationFailure], expected_validation_type: OpIntentValidationFailureType, - expected_invalid_fields: Optional[List[str]], + expected_invalid_fields: Optional[List[str]] = None, ) -> OpIntentValidationFailure: """ Checks if expected validation type is in validation failures