We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9366ac6 commit 43d4031Copy full SHA for 43d4031
speciesnet/utils_test.py
@@ -269,16 +269,10 @@ def test_bw_image(self) -> None:
269
assert img.size == (2048, 1536)
270
assert img.mode == "RGB"
271
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
-
278
def test_https_image(self) -> None:
279
- img = load_rgb_image("https://picsum.photos/300/400")
+ img = load_rgb_image(HTTPS_TEST_IMG)
280
assert img
281
- assert img.size == (300, 400)
+ assert img.size == (2048, 1494)
282
283
284
@pytest.mark.az
0 commit comments