File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
tests/data/serialization/labelbox_v1 Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 99 'tests/data/assets/labelbox_v1/highly_nested_image.json' ,
1010 'tests/data/assets/labelbox_v1/image_export.json'
1111])
12+ #TODO: some checklists from the export come in as [checklist ans: []]
13+ # while others are checklist ans: []... when we can figure out why we sometimes
14+ # have extra brackets, we can look into testing nested checklist answers
15+ # and ensuring the export's output matches deserialized/serialized output
1216def test_image (file_path ):
1317 with open (file_path , 'r' ) as file :
1418 payload = json .load (file )
@@ -32,7 +36,6 @@ def test_image(file_path):
3236 if isinstance (annotation_b ['classifications' ][0 ], list ):
3337 annotation_b ['classifications' ] = annotation_b [
3438 'classifications' ][0 ]
35-
3639 assert annotation_a == annotation_b
3740
3841
You can’t perform that action at this time.
0 commit comments