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 9
9
'tests/data/assets/labelbox_v1/highly_nested_image.json' ,
10
10
'tests/data/assets/labelbox_v1/image_export.json'
11
11
])
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
12
16
def test_image (file_path ):
13
17
with open (file_path , 'r' ) as file :
14
18
payload = json .load (file )
@@ -32,7 +36,6 @@ def test_image(file_path):
32
36
if isinstance (annotation_b ['classifications' ][0 ], list ):
33
37
annotation_b ['classifications' ] = annotation_b [
34
38
'classifications' ][0 ]
35
-
36
39
assert annotation_a == annotation_b
37
40
38
41
You can’t perform that action at this time.
0 commit comments