From f6890d1b9f5b59b90463831dd4e1058d8e6f585c Mon Sep 17 00:00:00 2001 From: tempate Date: Tue, 7 Nov 2023 16:16:53 +0100 Subject: [PATCH] Fix python-linter errors Signed-off-by: tempate --- ddsrouter_test/compose/scripts/validation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ddsrouter_test/compose/scripts/validation.py b/ddsrouter_test/compose/scripts/validation.py index 890281f09..e0c83ea71 100644 --- a/ddsrouter_test/compose/scripts/validation.py +++ b/ddsrouter_test/compose/scripts/validation.py @@ -164,7 +164,7 @@ def run_and_validate( validate_output_function, delay: float = 0, timeout_as_error: bool = True, - parse_retcode_function = validate_retcode_default, + parse_retcode_function=validate_retcode_default, min_time: int = 0, max_time: int = 0): """ @@ -192,13 +192,13 @@ def run_and_validate( if elapsed_time < min_time: log.logger.error( - f'Executable exited before min-time.') + 'Executable exited before min-time.') return ReturnCode.FINISHED_TOO_QUICKLY elif max_time > 0 and elapsed_time > max_time: log.logger.error( - f'Executable exited after max-time.') + 'Executable exited after max-time.') return ReturnCode.FINISHED_TOO_SLOWLY