diff --git a/openeo_driver/dummy/dummy_backend.py b/openeo_driver/dummy/dummy_backend.py index 67e91c88..c8a12340 100644 --- a/openeo_driver/dummy/dummy_backend.py +++ b/openeo_driver/dummy/dummy_backend.py @@ -700,7 +700,7 @@ def get_result_assets(self, job_id: str, user_id: str) -> Dict[str, dict]: "roles": ["data"], "type": "text/csv", "href": "s3://OpenEO-data/batch_jobs/j-2406047c20fc4966ab637d387502728f/timeseries.csv", - # TODO: add bands? + "bands": [Band(name="S2-L2A-EVI_t0"), Band(name="S2-L2A-EVI_t1"), Band(name="S2-L2A-EVI_t2")], }, } diff --git a/tests/test_views.py b/tests/test_views.py index c2a38092..f1a7f95e 100644 --- a/tests/test_views.py +++ b/tests/test_views.py @@ -1802,7 +1802,12 @@ def test_get_job_results_110(self, api110): 'href': 'http://oeo.net/openeo/1.1.0/jobs/j-2406047c20fc4966ab637d387502728f/results/assets/timeseries.csv', 'roles': ['data'], 'title': 'timeseries.csv', - 'type': 'text/csv' + 'type': 'text/csv', + 'eo:bands': [ + {"name": "S2-L2A-EVI_t0"}, + {"name": "S2-L2A-EVI_t1"}, + {"name": "S2-L2A-EVI_t2"} + ], }, }, "links": [