Skip to content

Commit 43d4031

Browse files
committed
removed an unreliable remote test dependency
1 parent 9366ac6 commit 43d4031

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

speciesnet/utils_test.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -269,16 +269,10 @@ def test_bw_image(self) -> None:
269269
assert img.size == (2048, 1536)
270270
assert img.mode == "RGB"
271271

272-
def test_http_image(self) -> None:
273-
img = load_rgb_image("http://picsum.photos/200/300")
274-
assert img
275-
assert img.size == (200, 300)
276-
assert img.mode == "RGB"
277-
278272
def test_https_image(self) -> None:
279-
img = load_rgb_image("https://picsum.photos/300/400")
273+
img = load_rgb_image(HTTPS_TEST_IMG)
280274
assert img
281-
assert img.size == (300, 400)
275+
assert img.size == (2048, 1494)
282276
assert img.mode == "RGB"
283277

284278
@pytest.mark.az

0 commit comments

Comments
 (0)