fix lint test failed

This commit is contained in:
Dhaval Mehta 2020-04-10 03:35:22 +05:30
parent 40de7e2fa4
commit a3305e7818

View File

@ -79,8 +79,8 @@ class TestFieldMapping(TestCase):
(1, 'One'), (2, 'Two'), (3, 'Three'), (2, 'Two'), (3, 'Three'), (1, 'One'),
])),
{'items': {'enum': [1, 2, 3], 'type': 'integer'}, 'type': 'array'}),
(serializers.ListField(child=
serializers.ChoiceField(choices=[(Decimal('1.111'), 'one'), (Decimal('2.222'), 'two')])),
(serializers.ListField(child=serializers.ChoiceField(
choices=[(Decimal('1.111'), 'one'), (Decimal('2.222'), 'two')])),
{'items': {'enum': ['1.111', '2.222'], 'type': 'string', 'format': 'decimal'}, 'type': 'array'}),
(serializers.IntegerField(min_value=2147483648),
{'type': 'integer', 'minimum': 2147483648, 'format': 'int64'}),