From e8d98dfdf7d4b0947a0731eb0f72a1bc7f5b7cb1 Mon Sep 17 00:00:00 2001 From: Artur Maciag Date: Tue, 18 Jun 2019 16:35:45 +0100 Subject: [PATCH] TestPathItemParamsValidator linting fix --- tests/integration/test_validators.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_validators.py b/tests/integration/test_validators.py index 820f025..d6e6a5a 100644 --- a/tests/integration/test_validators.py +++ b/tests/integration/test_validators.py @@ -283,7 +283,10 @@ class TestPathItemParamsValidator(object): assert result.parameters == {} def test_request_invalid_param(self, validator): - request = MockRequest('http://example.com', 'get', '/resource', args={'resId': 'invalid'}) + request = MockRequest( + 'http://example.com', 'get', '/resource', + args={'resId': 'invalid'}, + ) result = validator.validate(request) assert len(result.errors) == 1 @@ -292,7 +295,10 @@ class TestPathItemParamsValidator(object): assert result.parameters == {} def test_request_valid_param(self, validator): - request = MockRequest('http://example.com', 'get', '/resource', args={'resId': '10'}) + request = MockRequest( + 'http://example.com', 'get', '/resource', + args={'resId': '10'}, + ) result = validator.validate(request) assert len(result.errors) == 0