We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12908b1 commit 73a709cCopy full SHA for 73a709c
1 file changed
tests/test_serializer_nested.py
@@ -199,14 +199,14 @@ def test_nested_serializer_with_list_json(self):
199
serializer = self.Serializer(data=input_data)
200
201
assert serializer.is_valid()
202
- assert serializer.validated_data['nested']['example'] == {1, 2}
+ assert serializer.validated_data['nested']['example'] == [1, 2]
203
204
def test_nested_serializer_with_list_multipart(self):
205
input_data = QueryDict('nested.example=1&nested.example=2')
206
207
208
209
210
211
212
class TestNotRequiredNestedSerializerWithMany:
0 commit comments