Skip to content

Commit

Permalink
fix: deprecate vizualization methods (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Jan 28, 2024
2 parents 5d56815 + 206f123 commit 5796903
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/test_deprecated.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""Test all the deprecated methods that have not been kept in the new implementation."""

import pytest

import geetools


class TestVizualisation:
"""Test methods from the deprecated_visualization module."""

def test_stretch_std(self):
with pytest.raises(NotImplementedError):
geetools.visualization.stretch_std(None, None)

def test_stretch_percentile(self):
with pytest.raises(NotImplementedError):
geetools.visualization.stretch_percentile(None, None)

0 comments on commit 5796903

Please sign in to comment.