From a3305e7818a7c2fd6582fad4772dffe3017de209 Mon Sep 17 00:00:00 2001 From: Dhaval Mehta <20968146+dhaval-mehta@users.noreply.github.com> Date: Fri, 10 Apr 2020 03:35:22 +0530 Subject: [PATCH] fix lint test failed --- tests/schemas/test_openapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/schemas/test_openapi.py b/tests/schemas/test_openapi.py index 7a6314a27..411bac6dd 100644 --- a/tests/schemas/test_openapi.py +++ b/tests/schemas/test_openapi.py @@ -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'}),