Skip to content

Commit

Permalink
#34: updated test to account for feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
bossie committed Mar 24, 2022
1 parent 91a8be8 commit 66078e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_load_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def test_load_collection_sar_backscatter_compatible(get_jvm):
cellsize_mock = jvm_mock.geotrellis.raster.CellSize(10, 10)

factory_mock.assert_called_once_with("https://services.sentinel-hub.com", "sentinel-1-grd", "S1GRD", "???", "!!!",
{"backCoeff": "GAMMA0_TERRAIN", "orthorectify": True}, sample_type_mock, cellsize_mock)
{"backCoeff": "GAMMA0_TERRAIN", "orthorectify": True}, sample_type_mock,
cellsize_mock, False)

jvm_mock.org.openeo.geotrellissentinelhub.SampleType.withName.assert_called_once_with("FLOAT32")
factory_mock.return_value.datacube_seq.assert_called_once()
Expand Down

0 comments on commit 66078e2

Please sign in to comment.