From b2d5b09bb7b3b4b0e1bdeed3806b2cc4f5eb48c9 Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Tue, 15 Mar 2022 13:01:30 +0100
Subject: [PATCH] TMSS-1546: fixed test

---
 .../CleanupService/test/t_cleanup_tmss_integration_test.py      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SAS/DataManagement/Cleanup/CleanupService/test/t_cleanup_tmss_integration_test.py b/SAS/DataManagement/Cleanup/CleanupService/test/t_cleanup_tmss_integration_test.py
index 28f8790f328..946f170111b 100755
--- a/SAS/DataManagement/Cleanup/CleanupService/test/t_cleanup_tmss_integration_test.py
+++ b/SAS/DataManagement/Cleanup/CleanupService/test/t_cleanup_tmss_integration_test.py
@@ -61,7 +61,7 @@ class TestCleanupTMSSIntegration(unittest.TestCase):
 
                 strategy_template = models.SchedulingUnitObservingStrategyTemplate.objects.get(name="Short Test Observation - Pipeline - Ingest")
                 scheduling_unit_spec = add_defaults_to_json_object_for_schema(strategy_template.template, strategy_template.scheduling_unit_template.schema)
-                scheduling_unit_spec['tasks']['Observation']['specifications_doc']['SAPs'][0]['subbands'] = [0,1] #limit nr of subbands for readability
+                scheduling_unit_spec['tasks']['Observation']['specifications_doc']['station_configuration']['SAPs'][0]['subbands'] = [0,1] #limit nr of subbands for readability
                 scheduling_unit_spec['tasks']['Observation']['specifications_doc']['QA']['plots']['enabled'] = False
                 scheduling_unit_spec['tasks']['Observation']['specifications_doc']['QA']['file_conversion']['enabled'] = False
 
-- 
GitLab