Skip to content

Commit bf7114e

Browse files
author
Matt Sokoloff
committed
test reliability
1 parent ae2c73e commit bf7114e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/bulk_import/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import uuid
2+
from time import sleep
3+
24
import pytest
35

46
from labelbox.schema.labeling_frontend import LabelingFrontend
@@ -108,14 +110,14 @@ def configured_project(client, project, ontology, dataset):
108110
for _ in range(len(ontology['tools']) + len(ontology['classifications'])):
109111
dataset.create_data_row(row_data=IMG_URL)
110112
project.datasets.connect(dataset)
113+
sleep(1)
111114
yield project
112115

113116

114117
@pytest.fixture
115118
def prediction_id_mapping(configured_project):
116119
#Maps tool types to feature schema ids
117120
ontology = configured_project.ontology().normalized
118-
inferences = []
119121
datarows = [d for d in list(configured_project.datasets())[0].data_rows()]
120122
result = {}
121123

0 commit comments

Comments
 (0)