From a1dfaf6adbee70496dd4e542a15e6fd142bf9e28 Mon Sep 17 00:00:00 2001 From: Gerhard Weis Date: Wed, 19 Jun 2019 08:59:50 +1000 Subject: [PATCH] make flake8 happy --- tests/integration/test_validators.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_validators.py b/tests/integration/test_validators.py index 32adee0..82a7cae 100644 --- a/tests/integration/test_validators.py +++ b/tests/integration/test_validators.py @@ -307,7 +307,8 @@ class TestPathItemParamsValidator(object): @pytest.mark.xfail def test_request_override_param(self, spec_dict): - # override parameter path parameter on operation (name and in property must match) + # override parameter path parameter on operation + # (name and in property must match) spec_dict["paths"]["/resource"]["get"]["parameters"] = [ { # full valid parameter object required @@ -346,7 +347,7 @@ class TestPathItemParamsValidator(object): ] from openapi_spec_validator.exceptions import OpenAPIValidationError with pytest.raises(OpenAPIValidationError): - spec = create_spec(spec_dict) + create_spec(spec_dict) class TestResponseValidator(object):