Skip to content

Commit e05ab8f

Browse files
authored
Merge pull request #658 from Labelbox/hydak/picsum_fix
[AL-0] Picsum Alternative - hydak
2 parents e8f8220 + 9d8ce90 commit e05ab8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import uuid
66
from enum import Enum
77
from types import SimpleNamespace
8+
import random
89

910
import pytest
1011
import requests
@@ -18,7 +19,8 @@
1819
from labelbox.schema.invite import Invite
1920
from labelbox.schema.user import User
2021

21-
IMG_URL = "https://picsum.photos/200/300"
22+
dimension = random.randint(128, 1024)
23+
IMG_URL = f"http://via.placeholder.com/{dimension}/{dimension}"
2224

2325

2426
class Environ(Enum):

0 commit comments

Comments
 (0)