Skip to content

Commit

Permalink
Add geopf marker on tests using it
Browse files Browse the repository at this point in the history
  • Loading branch information
leavauchier committed Dec 21, 2023
1 parent 2f3048d commit 8441415
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@ def test_epsg_fail():
pixel_per_meter = 0.1


@pytest.mark.geopf
def test_color_and_keeping_orthoimages():
tmp_ortho, tmp_ortho_irc = color.color(INPUT_PATH, OUTPUT_FILE, epsg)
assert Path(tmp_ortho.name).exists()
assert Path(tmp_ortho_irc.name).exists()


@pytest.mark.geopf
def test_color_narrow_cloud():
# Test that clouds that are smaller in width or height to 20cm are still clorized without an error.
color.color(INPUT_PATH_SINGLE_POINT_CLOUD, OUTPUT_FILE_SINGLE_POINT_CLOUD, epsg)
Expand Down

0 comments on commit 8441415

Please sign in to comment.