Skip to content

Commit

Permalink
fix: deprecate vizualization methods
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau committed Jan 28, 2024
1 parent 5d56815 commit 7e33978
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 7e33978

Please sign in to comment.