Skip to content

Commit ad689fa

Browse files
committed
Fixup broken test_apply_complex_graph test
Test was long broken unnoticeably, but just uncovered through Open-EO/openeo-python-driver#395
1 parent e39d30e commit ad689fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_apply_process.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def test_apply_complex_graph():
181181
}
182182

183183
input = create_spacetime_layer()
184-
cube = GeopysparkDataCube(gps.Pyramid({0: input}), InMemoryServiceRegistry())
184+
cube = GeopysparkDataCube(gps.Pyramid({0: input}))
185185
res = cube.apply(process=graph, env=EvalEnv())
186186
data = res.pyramid.levels[0].to_spatial_layer().stitch().cells
187187
np.testing.assert_array_almost_equal(data[0, 2:6, 2:6], 5.0 * np.sin(first[0]))

0 commit comments

Comments
 (0)