Skip to content

Commit

Permalink
Fix python-linter errors
Browse files Browse the repository at this point in the history
Signed-off-by: tempate <[email protected]>
  • Loading branch information
Tempate committed Nov 7, 2023
1 parent b10b75f commit f6890d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ddsrouter_test/compose/scripts/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit f6890d1

Please sign in to comment.