Don't attempt to test dicts (unordered)

This commit is contained in:
Tom Christie 2015-09-28 17:41:09 +01:00
parent ec8098b7e2
commit dad207de66

View File

@ -1572,11 +1572,7 @@ class TestBinaryJSONField(FieldValues):
('{"a": "unterminated string}', ['Value must be valid JSON.']), ('{"a": "unterminated string}', ['Value must be valid JSON.']),
] ]
outputs = [ outputs = [
({ (['some', 'list', True, 1.23], b'["some", "list", true, 1.23]'),
'a': 1,
'b': ['some', 'list', True, 1.23],
'3': None
}, b'{"a": 1, "3": null, "b": ["some", "list", true, 1.23]}'),
] ]
field = serializers.JSONField(binary=True) field = serializers.JSONField(binary=True)