Skip to content

Commit 8c3f1b3

Browse files
author
Val Brodsky
committed
Debug info
1 parent 5049882 commit 8c3f1b3

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

tests/integration/export_v2/test_export_video.py

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,34 @@
11
import time
2+
3+
import pytest
24
import labelbox as lb
35
from labelbox.data.annotation_types.data.video import VideoData
46
import labelbox.types as lb_types
57
from labelbox.schema.annotation_import import AnnotationImportState
68

79

10+
@pytest.fixture
11+
def user_id(client):
12+
return client.get_user().uid
13+
14+
15+
@pytest.fixture
16+
def org_id(client):
17+
return client.get_organization().uid
18+
19+
820
def test_export_v2_video(client, configured_project_without_data_rows,
9-
video_data, video_data_row,
10-
bbox_video_annotation_objects, rand_gen):
21+
video_data, video_data_row, is_adv_enabled,
22+
bbox_video_annotation_objects, rand_gen, user_id,
23+
org_id):
24+
25+
orgid = client.get_organization().uid
26+
userid = client.get_user().uid
1127

1228
project = configured_project_without_data_rows
1329
project_id = project.uid
1430
labels = []
31+
1532
_, data_row_uids = video_data
1633
project.create_batch(
1734
rand_gen(str),
@@ -156,6 +173,7 @@ def test_export_v2_video(client, configured_project_without_data_rows,
156173
) #note we create 1 label per data row, 1 data row so 1 label
157174
export_label = project_export_labels[0]
158175
assert (export_label['label_kind']) == 'Video'
176+
159177
assert (export_label['label_details'].keys()
160178
) == expected_export_label['label_details'].keys()
161179

0 commit comments

Comments
 (0)