Skip to content

Commit

Permalink
fixup! fixup! Issue #209 deprecate usage of DataCube.graph property
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Oct 11, 2021
1 parent 29caa48 commit 15e442d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rest/datacube/test_datacube100.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _get_leaf_node(cube: DataCube) -> dict:

def test_datacube_graph(con100):
s2cube = con100.load_collection("S2")
with pytest.warns(DeprecationWarning, match=re.escape("Use `.flat_graph()` method instead of `.graph` property.")):
with pytest.warns(DeprecationWarning, match=re.escape("Use `DataCube.flat_graph()` instead.")):
actual = s2cube.graph
assert actual == {'loadcollection1': {
'process_id': 'load_collection',
Expand Down

0 comments on commit 15e442d

Please sign in to comment.