From 49d48fe7f92eae6cbe380f02622e9eeed4d3b282 Mon Sep 17 00:00:00 2001 From: Morten Letnes Date: Thu, 12 Dec 2024 14:08:18 +0100 Subject: [PATCH] no repr --- tests/test_explore.py | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/tests/test_explore.py b/tests/test_explore.py index 5c1b1a93..46d0a90d 100644 --- a/tests/test_explore.py +++ b/tests/test_explore.py @@ -126,20 +126,9 @@ def test_explore(points_oslo, roads_oslo): "meters", r100, bygdoy=7000, - norge_i_bilder=True, - tiles=["openstreetmap"], + wms=sg.NorgeIBilderWms(years=[2022, 2023, 2024], not_contains="sentinel"), ) - assert isinstance(e.norge_i_bilder, sg.NorgeIBilderWms) - e = sg.explore( - r300, - "meters", - r100, - bygdoy=7000, - norge_i_bilder=sg.NorgeIBilderWms( - years=[2022, 2023, 2024], not_contains="sentinel" - ), - ) - assert isinstance(e.norge_i_bilder, sg.NorgeIBilderWms) + assert isinstance(next(iter(e.wms)), sg.NorgeIBilderWms) inner_test_center(r300, r200, r100, p)