@@ -129,7 +129,7 @@ def test_basic_two_sub_sheets(self):
129
129
spreadsheet_input .read_sheets ()
130
130
unflattened = list (spreadsheet_input .unflatten ())
131
131
assert len (unflattened ) == 2
132
- assert set (unflattened [0 ]) == set ( ['ocid' , 'id' , 'sub1Field' ]) # FIXME should be ordered
132
+ assert list (unflattened [0 ]) == ['ocid' , 'id' , 'sub1Field' ]
133
133
assert unflattened [0 ]['ocid' ] == 1
134
134
assert unflattened [0 ]['id' ] == 2
135
135
assert unflattened [0 ]['sub1Field' ] == [
@@ -274,7 +274,7 @@ def test_same_rollup(self, recwarn):
274
274
unflattened = list (spreadsheet_input .unflatten ())
275
275
assert unflattened == [
276
276
{'ocid' : 1 , 'id' : 2 , 'testC' :3 , 'testA' : [{'id' : 4 , 'testB' : 5 }]},
277
- {'ocid' : 6 , 'id' : 7 , 'testC' :8 , 'testA' : [{'testB' : 9 }, {'testB' : 9 }]}, # FIXME rollup with ID causes duplicates
277
+ {'ocid' : 6 , 'id' : 7 , 'testC' :8 , 'testA' : [{'testB' : 9 }, {'testB' : 9 }]}, # FIXME rollup without ID causes duplicates
278
278
]
279
279
# We expect no warnings
280
280
assert recwarn .list == []
@@ -413,7 +413,7 @@ def test_basic_two_sub_sheets(self):
413
413
spreadsheet_input .read_sheets ()
414
414
unflattened = list (spreadsheet_input .unflatten ())
415
415
assert len (unflattened ) == 1
416
- assert set (unflattened [0 ]) == set ( ['custom' , 'id' , 'sub1Field' ]) # FIXME should be ordered
416
+ assert list (unflattened [0 ]) == ['custom' , 'id' , 'sub1Field' ]
417
417
assert unflattened [0 ]['custom' ] == 1
418
418
assert unflattened [0 ]['id' ] == 2
419
419
assert unflattened [0 ]['sub1Field' ] == [
0 commit comments