File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/integration/bulk_import Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33import pytest
44import requests
55
6- from labelbox .exceptions import NDJsonError , UuidError
6+ from labelbox .exceptions import ValidationError , UuidError
77from labelbox .schema .bulk_import_request import BulkImportRequest
88from labelbox .schema .enums import BulkImportRequestState
99"""
@@ -32,7 +32,7 @@ def test_create_from_url(configured_project):
3232def test_validate_file (client , configured_project ):
3333 name = str (uuid .uuid4 ())
3434 url = "https://storage.googleapis.com/labelbox-public-bucket/predictions_test_v2.ndjson"
35- with pytest .raises (NDJsonError ):
35+ with pytest .raises (ValidationError ):
3636 configured_project .upload_annotations (name = name ,
3737 annotations = url ,
3838 validate = True )
You can’t perform that action at this time.
0 commit comments