diff --git a/SAS/TMSS/test/t_tmssapp_specification_django_API.py b/SAS/TMSS/test/t_tmssapp_specification_django_API.py index ec24c8ff4afd6587d25d355dd8aeb246893de758..7569f30a5c3bdeb0e35814055452ba2454bd1c8e 100755 --- a/SAS/TMSS/test/t_tmssapp_specification_django_API.py +++ b/SAS/TMSS/test/t_tmssapp_specification_django_API.py @@ -495,6 +495,9 @@ class TaskDraftTest(unittest.TestCase): scheduling_unit_2 = models.SchedulingUnitDraft.objects.create(**SchedulingUnitDraft_test_data(scheduling_set=scheduling_set_2)) task_draft_2 = models.TaskDraft.objects.create(**TaskDraft_test_data(scheduling_unit_draft=scheduling_unit_2)) + task_draft_1.refresh_from_db() + task_draft_2.refresh_from_db() + # assert self.assertFalse(task_draft_1.output_pinned) self.assertTrue(task_draft_2.output_pinned)