Skip to content

Commit a1dfaf6

Browse files
author
Gerhard Weis
committed
make flake8 happy
1 parent a8d7d9b commit a1dfaf6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/integration/test_validators.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,8 @@ def test_request_valid_param(self, validator):
307307

308308
@pytest.mark.xfail
309309
def test_request_override_param(self, spec_dict):
310-
# override parameter path parameter on operation (name and in property must match)
310+
# override parameter path parameter on operation
311+
# (name and in property must match)
311312
spec_dict["paths"]["/resource"]["get"]["parameters"] = [
312313
{
313314
# full valid parameter object required
@@ -346,7 +347,7 @@ def test_request_override_invalid_param(self, spec_dict):
346347
]
347348
from openapi_spec_validator.exceptions import OpenAPIValidationError
348349
with pytest.raises(OpenAPIValidationError):
349-
spec = create_spec(spec_dict)
350+
create_spec(spec_dict)
350351

351352

352353
class TestResponseValidator(object):

0 commit comments

Comments
 (0)