Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import uuid
from enum import Enum
from types import SimpleNamespace
import random

import pytest
import requests
Expand All @@ -18,7 +19,8 @@
from labelbox.schema.invite import Invite
from labelbox.schema.user import User

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


class Environ(Enum):
Expand Down Expand Up @@ -317,6 +319,7 @@ def create_label():
project.create_label = create_label
project.create_label()
label = next(project.labels())
print(f"this is a label: \n{label}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this

yield [project, dataset, datarow, label]

for label in project.labels():
Expand Down