@@ -99,7 +99,7 @@ def test_generate_transform_commands_required_input_fields(run_id, run_timestamp
9999 "transform-command" : [
100100 "--input-file=s3://test-timdex-bucket/testsource/"
101101 "testsource-2022-01-02-full-extracted-records-to-index.xml" ,
102- "--output-location=s3://test-timdex-bucket/dataset/data/records " ,
102+ "--output-location=s3://test-timdex-bucket/dataset" ,
103103 "--source=testsource" ,
104104 f"--run-id={ run_id } " ,
105105 f"--run-timestamp={ run_timestamp } " ,
@@ -133,7 +133,7 @@ def test_generate_transform_commands_all_input_fields(run_id, run_timestamp):
133133 "transform-command" : [
134134 "--input-file=s3://test-timdex-bucket/testsource/"
135135 "testsource-2022-01-02-daily-extracted-records-to-index_01.xml" ,
136- "--output-location=s3://test-timdex-bucket/dataset/data/records " ,
136+ "--output-location=s3://test-timdex-bucket/dataset" ,
137137 "--source=testsource" ,
138138 f"--run-id={ run_id } " ,
139139 f"--run-timestamp={ run_timestamp } " ,
@@ -143,7 +143,7 @@ def test_generate_transform_commands_all_input_fields(run_id, run_timestamp):
143143 "transform-command" : [
144144 "--input-file=s3://test-timdex-bucket/testsource/"
145145 "testsource-2022-01-02-daily-extracted-records-to-index_02.xml" ,
146- "--output-location=s3://test-timdex-bucket/dataset/data/records " ,
146+ "--output-location=s3://test-timdex-bucket/dataset" ,
147147 "--source=testsource" ,
148148 f"--run-id={ run_id } " ,
149149 f"--run-timestamp={ run_timestamp } " ,
@@ -153,7 +153,7 @@ def test_generate_transform_commands_all_input_fields(run_id, run_timestamp):
153153 "transform-command" : [
154154 "--input-file=s3://test-timdex-bucket/testsource/"
155155 "testsource-2022-01-02-daily-extracted-records-to-delete.xml" ,
156- "--output-location=s3://test-timdex-bucket/dataset/data/records " ,
156+ "--output-location=s3://test-timdex-bucket/dataset" ,
157157 "--source=testsource" ,
158158 f"--run-id={ run_id } " ,
159159 f"--run-timestamp={ run_timestamp } " ,
@@ -178,7 +178,7 @@ def test_generate_load_commands_daily(run_id):
178178 "run-abc-123" ,
179179 "--source" ,
180180 "testsource" ,
181- "s3://test-timdex-bucket/dataset/data/records " ,
181+ "s3://test-timdex-bucket/dataset" ,
182182 ]
183183 }
184184
@@ -200,7 +200,7 @@ def test_generate_load_commands_full_no_alias(run_id):
200200 "run-abc-123" ,
201201 "--index" ,
202202 "testsource-2022-01-02t12-13-14" ,
203- "s3://test-timdex-bucket/dataset/data/records " ,
203+ "s3://test-timdex-bucket/dataset" ,
204204 ],
205205 "promote-index-command" : ["promote" , "--index" , "testsource-2022-01-02t12-13-14" ],
206206 }
@@ -223,7 +223,7 @@ def test_generate_load_commands_full_with_alias(run_id):
223223 "run-abc-123" ,
224224 "--index" ,
225225 "alma-2022-01-02t12-13-14" ,
226- "s3://test-timdex-bucket/dataset/data/records " ,
226+ "s3://test-timdex-bucket/dataset" ,
227227 ],
228228 "promote-index-command" : [
229229 "promote" ,
0 commit comments