Skip to content

Commit 4a1fc54

Browse files
committed
update to naming and removal of time sleep
1 parent 6f67194 commit 4a1fc54

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/integration/conftest.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,7 @@ def configured_project_with_label(client, rand_gen, image_url):
329329
upload_task = LabelImport.create_from_objects(
330330
client, project.uid, f'label-import-{uuid.uuid4()}', predictions)
331331
upload_task.wait_until_done()
332-
labels = [label.uid for label in project.labels()][0]
333-
time.sleep(3)
334-
yield [project, labels]
332+
label = next(project.labels()).uid
333+
yield [project, label]
335334
dataset.delete()
336335
project.delete()

0 commit comments

Comments
 (0)