diff --git a/SAS/TMSS/backend/services/scheduling/test/t_scheduling_constraints.py b/SAS/TMSS/backend/services/scheduling/test/t_scheduling_constraints.py
index f85b80f372504a095ceb76e4c86f72c8dc86c433..242835fea90f0fb26ecedc838cae37170fc3d451 100755
--- a/SAS/TMSS/backend/services/scheduling/test/t_scheduling_constraints.py
+++ b/SAS/TMSS/backend/services/scheduling/test/t_scheduling_constraints.py
@@ -97,8 +97,9 @@ class BaseSchedulingConstraintsTestCase(unittest.TestCase):
     @staticmethod
     def create_simple_observation_scheduling_unit(name:str=None, scheduling_set=None,
                                                   obs_duration:int=60,
-                                                  constraints=None) -> models.SchedulingUnitDraft:
-        constraints_template = models.SchedulingConstraintsTemplate.get_version_or_latest(name="constraints")
+                                                  constraints=None,
+                                                  constraint_version: int=8) -> models.SchedulingUnitDraft:
+        constraints_template = models.SchedulingConstraintsTemplate.get_version_or_latest(name="constraints", version=constraint_version)
 
         if constraints is None:
             # by default, apply no constraints, and let the caller be specific on the constraints needed