From 5be6db1f12bc6f17a9e29a122d8e4142a546970a Mon Sep 17 00:00:00 2001 From: Mario Raciti <mario.raciti@inaf.it> Date: Fri, 21 Jan 2022 15:17:22 +0100 Subject: [PATCH] TMSS-1274: Update comments --- SAS/TMSS/backend/test/t_reports.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SAS/TMSS/backend/test/t_reports.py b/SAS/TMSS/backend/test/t_reports.py index 109a082a80c..bc8fdb3b32b 100755 --- a/SAS/TMSS/backend/test/t_reports.py +++ b/SAS/TMSS/backend/test/t_reports.py @@ -300,7 +300,7 @@ class ReportTest(unittest.TestCase): dataformat=models.Dataformat.objects.get(value="pulp analysis"), datatype=models.Datatype.objects.get(value="time series"))) - # Set explicit actual_process_duration to simulate the pipeline to be ran the specified time (600s) + # Set explicit actual_process_duration to simulate the pipeline to be run within the specified time (600s) now = datetime.utcnow() set_subtask_state_following_allowed_transitions(pipeline_subtask, 'queued') pipeline_subtask.state = models.SubtaskState.objects.get(value=models.SubtaskState.Choices.STARTING.value) @@ -326,7 +326,7 @@ class ReportTest(unittest.TestCase): results_accepted = True if i == 0 else False SchedulingUnitProcess.objects.create(su=su_blueprint, results_accepted=results_accepted) elif i == 2: # Cancelled at half specified time duration (300s) - # Set explicit on_sky_duration and actual_process_duration to simulate the obs to be ran half the specified time (300s) + # Set explicit on_sky_duration and actual_process_duration to simulate the obs to be run within half the specified time (300s) now = datetime.utcnow() set_subtask_state_following_allowed_transitions(obs_subtask, 'queued') obs_subtask.state = models.SubtaskState.objects.get(value=models.SubtaskState.Choices.STARTING.value) -- GitLab