Skip to content

Commit 46449e3

Browse files
committed
update to use a different placeholder image
1 parent e8f8220 commit 46449e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/integration/conftest.py

Lines changed: 4 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):
@@ -317,6 +319,7 @@ def create_label():
317319
project.create_label = create_label
318320
project.create_label()
319321
label = next(project.labels())
322+
print(f"this is a label: \n{label}")
320323
yield [project, dataset, datarow, label]
321324

322325
for label in project.labels():

0 commit comments

Comments
 (0)