Skip to content

Commit 5ce696c

Browse files
committed
try to re-run ci
1 parent 1ecb442 commit 5ce696c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/serializers/test_model.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -1124,20 +1124,20 @@ class MyModel:
11241124
'field_none': None,
11251125
}
11261126
)
1127-
assert s.to_python(m) == snapshot(
1127+
assert s.to_python(m, sort_keys=True) == snapshot(
11281128
{
11291129
'field_123': b'test_123',
11301130
'field_a': b'test',
11311131
'field_b': 12,
1132-
'field_c': {'mango': 2, 'banana': 3, 'apple': 1},
1132+
'field_c': {'apple': 1, 'banana': 3, 'mango': 2},
11331133
'field_n': [
1134-
{'mango': 3, 'banana': 2, 'apple': 1},
1135-
[{'mango': 3, 'banana': 2, 'apple': 1}, {'d': 3, 'b': 2, 'a': 1}],
1134+
{'apple': 1, 'banana': 2, 'mango': 3},
1135+
[{'apple': 1, 'banana': 2, 'mango': 3}, {'a': 1, 'b': 2, 'd': 3}],
11361136
3,
11371137
],
11381138
'field_d': [
1139-
{'d': 3, 'b': 2, 'a': {'nested3': 3, 'nested1': 1, 'nested2': 2}},
1140-
[[{'mango': 3, 'banana': 2, 'apple': 1}], {'d': 3, 'b': 2, 'a': 1}],
1139+
{'a': {'nested1': 1, 'nested2': 2, 'nested3': 3}, 'b': 2, 'd': 3},
1140+
[[{'apple': 1, 'banana': 2, 'mango': 3}], {'a': 1, 'b': 2, 'd': 3}],
11411141
3,
11421142
],
11431143
'field_none': None,

0 commit comments

Comments
 (0)