mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 00:49:49 +03:00
fix lint test failed
This commit is contained in:
parent
40de7e2fa4
commit
a3305e7818
|
@ -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'}),
|
||||
|
|
Loading…
Reference in New Issue
Block a user