From 0afd7c84493e8045dde8b98bd209e3110597d257 Mon Sep 17 00:00:00 2001 From: gounux Date: Mon, 24 Jun 2024 19:47:57 +0200 Subject: [PATCH] Update test image data --- tests/test_utils_images_size.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/test_utils_images_size.py b/tests/test_utils_images_size.py index a953a45..a12e989 100644 --- a/tests/test_utils_images_size.py +++ b/tests/test_utils_images_size.py @@ -126,8 +126,16 @@ def test_check_image_dimensions(self): def test_image_url_dimensions(self): for url, width, height in [ - ("https://cdn.geotribu.fr/img/coup_de_gueule.jpg", 74, 64), - ("https://cdn.geotribu.fr/img/pytroll.png", 100, 100), + ( + "https://cdn.geotribu.fr/img/articles-blog-rdp/articles/2024/lidarhd_pdal/lidar_zoom.png", + 1380, + 763, + ), + ( + "https://cdn.geotribu.fr/img/articles-blog-rdp/articles/2024/lidarhd_pdal/sol.png", + 1000, + 557, + ), ]: w, h = get_image_dimensions_by_url(url) self.assertEqual(w, width)