Update docs for GPU selection, fix test assertions + test_pipeline

This commit is contained in:
Antoine Jacquin
2026-05-31 17:19:53 +02:00
parent eb9545b56d
commit 07d2a8aea9
3 changed files with 21 additions and 45 deletions

View File

@ -26,9 +26,9 @@ class TestVizSteps:
assert "solar" not in names
def test_expected_visualization_count(self):
"""Should have 17 visualizations (15 terrain + ortho + topo)."""
"""Should have 13 visualizations (11 terrain + ortho + topo)."""
from lidar_pipeline.pipeline import VIZ_STEPS
assert len(VIZ_STEPS) == 17
assert len(VIZ_STEPS) == 13
def test_ortho_and_topo_present(self):
from lidar_pipeline.pipeline import VIZ_STEPS
@ -48,7 +48,7 @@ class TestLidarArchaeoPipeline:
assert (tmp_path / "output").exists()
assert (tmp_path / "output" / "DTM").exists()
assert (tmp_path / "output" / "visualisations").exists()
assert (tmp_path / "output" / "rapports").exists()
assert (tmp_path / "output" / "temp").exists()
def test_init_raises_on_missing_input(self, tmp_path):
from lidar_pipeline.pipeline import LidarArchaeoPipeline