Skip to content

Commit 70ee2e3

Browse files
author
Matt Sokoloff
committed
small bug
1 parent d57081c commit 70ee2e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/bulk_import/test_bulk_import_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import pytest
44
import requests
55

6-
from labelbox.exceptions import NDJsonError, UuidError
6+
from labelbox.exceptions import ValidationError, UuidError
77
from labelbox.schema.bulk_import_request import BulkImportRequest
88
from labelbox.schema.enums import BulkImportRequestState
99
"""
@@ -32,7 +32,7 @@ def test_create_from_url(configured_project):
3232
def 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)

0 commit comments

Comments
 (0)