mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
Don't attempt to test dicts (unordered)
This commit is contained in:
parent
ec8098b7e2
commit
dad207de66
|
@ -1572,11 +1572,7 @@ class TestBinaryJSONField(FieldValues):
|
|||
('{"a": "unterminated string}', ['Value must be valid JSON.']),
|
||||
]
|
||||
outputs = [
|
||||
({
|
||||
'a': 1,
|
||||
'b': ['some', 'list', True, 1.23],
|
||||
'3': None
|
||||
}, b'{"a": 1, "3": null, "b": ["some", "list", true, 1.23]}'),
|
||||
(['some', 'list', True, 1.23], b'["some", "list", true, 1.23]'),
|
||||
]
|
||||
field = serializers.JSONField(binary=True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user