Skip to content

Commit 33e153e

Browse files
author
Matt Sokoloff
committed
missing import
1 parent a746812 commit 33e153e

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 ValidationError, UuidError
6+
from labelbox.exceptions import MALValidationError, 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(ValidationError):
35+
with pytest.raises(MALValidationError):
3636
configured_project.upload_annotations(name=name,
3737
annotations=url,
3838
validate=True)

0 commit comments

Comments
 (0)