Skip to content

Commit 0ce640d

Browse files
committed
Fixed raster product tests.
Metadata checks have been temporarily changed to always return "ok" status. As a consequence, raster.inspire check is not skipped in product tests.
1 parent f51d4cf commit 0ce640d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/qc_tool/test/test_raster_product.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def test_fty_2018_100m(self):
4444
filepath = self.raster_data_dir.joinpath("fty_100m", "fty_2018_100m_eu_03035_d02_clip.zip")
4545

4646
expected_step_results = ["ok"] * 13
47-
expected_step_results[12] = "skipped"
4847

4948
job_result = dispatch(self.job_uuid, self.username, filepath, product_ident, [])
5049
step_statuses = [step_result["status"] for step_result in job_result["steps"]]
@@ -176,8 +175,7 @@ def test_general_raster(self):
176175
filepath = self.raster_data_dir.joinpath("general_raster", "general_raster.zip")
177176

178177
expected_step_results = ["ok"] * 9
179-
expected_step_results[8] = "skipped"
180178

181-
job_result = dispatch(self.job_uuid, self.username, filepath, product_ident, (9,))
179+
job_result = dispatch(self.job_uuid, self.username, filepath, product_ident, [])
182180
step_statuses = [step_result["status"] for step_result in job_result["steps"]]
183181
self.assertListEqual(expected_step_results, step_statuses)

0 commit comments

Comments
 (0)