Skip to content

Commit c28b503

Browse files
author
Val Brodsky
committed
Fix tests
1 parent 79793ca commit c28b503

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/labelbox/tests/integration/test_labeling_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_request_labeling_service_moe_project(
5353

5454
labeling_service = project.get_labeling_service()
5555
with pytest.raises(
56-
MalformedQueryException,
56+
LabelboxError,
5757
match='[{"errorType":"PROJECT_MODEL_CONFIG","errorMessage":"Project model config is not completed"}]',
5858
):
5959
labeling_service.request()
@@ -75,5 +75,5 @@ def test_request_labeling_service_incomplete_requirements(ontology, project):
7575
): # No labeling service by default
7676
labeling_service.request()
7777
project.connect_ontology(ontology)
78-
with pytest.raises(MalformedQueryException):
78+
with pytest.raises(LabelboxError):
7979
labeling_service.request()

0 commit comments

Comments
 (0)