mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-01 14:04:02 +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.']),
|
('{"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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user