From d68036389bca7d064c71fb54b95d65c706b66fd4 Mon Sep 17 00:00:00 2001 From: Jeroen Dries Date: Tue, 28 Jan 2025 16:12:19 +0100 Subject: [PATCH] sar_backscatter: add assert on partitioner https://github.com/Open-EO/openeo-geopyspark-driver/issues/1018 --- tests/data_collections/test_s1backscatter_orfeo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/data_collections/test_s1backscatter_orfeo.py b/tests/data_collections/test_s1backscatter_orfeo.py index 56a502e0..10cee078 100644 --- a/tests/data_collections/test_s1backscatter_orfeo.py +++ b/tests/data_collections/test_s1backscatter_orfeo.py @@ -423,7 +423,8 @@ def test_creodias_s1_backscatter( }} ) datacube = catalog.load_collection("Creodias-S1-Backscatter", load_params=load_params, env=EvalEnv()) - print(datacube.get_max_level().srdd.rdd().partitioner()) + + assert "SpacePartitioner" in str(datacube.get_max_level().srdd.rdd().partitioner()) # Compare actual with the expected result. filename = tmp_path / "s1backscatter.tiff"