Skip to content

Commit 249d1bc

Browse files
authored
Merge pull request #853 from Labelbox/ms/fix-annotation-import-tests
fix annotation import tests
2 parents cbe80f0 + 313ab0a commit 249d1bc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/integration/annotation_import/test_label_import.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,13 @@ def test_get(client, project, annotation_import_test_helpers):
6767

6868

6969
@pytest.mark.slow
70-
def test_wait_till_done(client, project, predictions):
70+
def test_wait_till_done(client, configured_project, predictions):
7171
name = str(uuid.uuid4())
72-
label_import = LabelImport.create_from_objects(client=client,
73-
project_id=project.uid,
74-
name=name,
75-
labels=predictions)
72+
label_import = LabelImport.create_from_objects(
73+
client=client,
74+
project_id=configured_project.uid,
75+
name=name,
76+
labels=predictions)
7677

7778
assert len(label_import.inputs) == len(predictions)
7879
label_import.wait_until_done()

0 commit comments

Comments
 (0)