diff --git a/raster/r.colors/tests/r_colors_test.py b/raster/r.colors/tests/r_colors_test.py new file mode 100644 index 00000000000..3df46e0d749 --- /dev/null +++ b/raster/r.colors/tests/r_colors_test.py @@ -0,0 +1,8 @@ +import pytest + + +@pytest.mark.parametrize("color", ["viridis", "grey", "srtm_percent"]) +def test_set_color_table(session_tools, color): + """Check that we can set color table (smoke test)""" + session_tools.r_mapcalc(expression="raster = row() + col()") + session_tools.r_colors(map="raster", color=color)