Skip to content

Commit

Permalink
test bands
Browse files Browse the repository at this point in the history
  • Loading branch information
bossie committed Jun 10, 2024
1 parent 334782e commit 7005e7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openeo_driver/dummy/dummy_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")],
},
}

Expand Down
7 changes: 6 additions & 1 deletion tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 7005e7f

Please sign in to comment.