Skip to content

Commit bd7fa0a

Browse files
[PLT-383] Fix SDK integration tests. (#1508)
1 parent bfedb6e commit bd7fa0a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/annotation_import/test_data_types.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,9 @@ def test_import_data_types_v2(client, configured_project, initial_dataset,
296296
# to be similar to tests/integration/test_task_queue.py
297297

298298
result = export_v2_test_helpers.run_project_export_v2_task(project)
299-
exported_data = result[0]
299+
find_data_row = lambda dr: dr['data_row']['id'] == data_row.uid
300+
exported_data = list(filter(find_data_row, result))[0]
301+
assert exported_data
300302

301303
# timestamp fields are in iso format
302304
validate_iso_format(exported_data['data_row']['details']['created_at'])

0 commit comments

Comments
 (0)