diff --git a/tests/test_deprecated.py b/tests/test_deprecated.py new file mode 100644 index 00000000..6dd6c276 --- /dev/null +++ b/tests/test_deprecated.py @@ -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) +