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 da66ff5 commit bf624fdCopy full SHA for bf624fd
tests/integration/conftest.py
@@ -15,6 +15,7 @@
15
from labelbox.orm import query
16
from labelbox.pagination import PaginatedCollection
17
from labelbox.schema.annotation_import import LabelImport
18
+from labelbox.schema.enums import AnnotationImportState
19
from labelbox.schema.invite import Invite
20
from labelbox.schema.queue_mode import QueueMode
21
from labelbox.schema.user import User
@@ -334,6 +335,7 @@ def create_label():
334
335
upload_task = LabelImport.create_from_objects(
336
client, project.uid, f'label-import-{uuid.uuid4()}', predictions)
337
upload_task.wait_until_done(sleep_time_seconds=5)
338
+ assert(upload_task.state == AnnotationImportState.FAILED)
339
340
project.create_label = create_label
341
project.create_label()
0 commit comments