Skip to content

Commit

Permalink
Update test image data
Browse files Browse the repository at this point in the history
  • Loading branch information
gounux committed Jun 24, 2024
1 parent 6b60a33 commit 0afd7c8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/test_utils_images_size.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0afd7c8

Please sign in to comment.