Skip to content

Commit 327f967

Browse files
author
Val Brodsky
committed
Update tests
1 parent b4780cc commit 327f967

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libs/labelbox/tests/integration/test_labeling_dashboard.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
from labelbox.schema.labeling_service import LabelingServiceStatus
2+
from labelbox.schema.ontology_kind import EditorTaskType
3+
from labelbox.schema.media_type import MediaType
24

35

46
def test_request_labeling_service_moe_offline_project(
@@ -15,6 +17,9 @@ def test_request_labeling_service_moe_offline_project(
1517
assert labeling_service_dashboard.status == LabelingServiceStatus.Missing
1618
assert labeling_service_dashboard.tasks_completed == 0
1719
assert labeling_service_dashboard.tasks_remaining == 0
20+
assert labeling_service_dashboard.media_type == MediaType.Conversational
21+
assert labeling_service_dashboard.editor_task_type == EditorTaskType.OfflineModelChatEvaluation
22+
assert labeling_service_dashboard.service_type == "Offline chat evaluation"
1823

1924
labeling_service_dashboard = project.client.get_labeling_service_dashboards(
2025
).get_one()

0 commit comments

Comments
 (0)