From dcedd387722167f051cc633785a77f46aa06bead Mon Sep 17 00:00:00 2001 From: Artur Maciag Date: Tue, 17 Oct 2017 14:49:00 +0100 Subject: [PATCH] formatting fix --- tests/unit/test_schemas.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/unit/test_schemas.py b/tests/unit/test_schemas.py index c60796f..7895a39 100644 --- a/tests/unit/test_schemas.py +++ b/tests/unit/test_schemas.py @@ -1,5 +1,4 @@ import mock -import warnings import pytest from openapi_core.exceptions import InvalidValueType, InvalidValue @@ -74,14 +73,14 @@ class TestSchemaUnmarshal(object): assert result == int(value) def test_integer_enum_invalid(self): - schema = Schema('integer', enum=[1,2,3]) + schema = Schema('integer', enum=[1, 2, 3]) value = '123' with pytest.raises(InvalidValue): schema.unmarshal(value) def test_integer_enum(self): - schema = Schema('integer', enum=[1,2,3]) + schema = Schema('integer', enum=[1, 2, 3]) value = '2' result = schema.unmarshal(value)