diff --git a/SAS/TMSS/backend/test/t_reports.py b/SAS/TMSS/backend/test/t_reports.py index 109a082a80c6dfd49cf527a8f25109debd48ebdf..bc8fdb3b32bf3aa05ed739b36cfcba2d053c6e7e 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)