We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8f8220 commit 46449e3Copy full SHA for 46449e3
tests/integration/conftest.py
@@ -5,6 +5,7 @@
5
import uuid
6
from enum import Enum
7
from types import SimpleNamespace
8
+import random
9
10
import pytest
11
import requests
@@ -18,7 +19,8 @@
18
19
from labelbox.schema.invite import Invite
20
from labelbox.schema.user import User
21
-IMG_URL = "https://picsum.photos/200/300"
22
+dimension = random.randint(128, 1024)
23
+IMG_URL = f"http://via.placeholder.com/{dimension}/{dimension}"
24
25
26
class Environ(Enum):
@@ -317,6 +319,7 @@ def create_label():
317
319
project.create_label = create_label
318
320
project.create_label()
321
label = next(project.labels())
322
+ print(f"this is a label: \n{label}")
323
yield [project, dataset, datarow, label]
324
325
for label in project.labels():
0 commit comments