From ef29b698ac76bdd031f1f7ae9cb4e0ffe7f59429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20K=C3=B6tter?= Date: Thu, 13 Jul 2023 11:14:57 +0200 Subject: [PATCH] tests - extend content-type octet-stream to v31 --- tests/conftest.py | 4 ++-- tests/fixtures/paths-response-content-type-octet.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 006b515f..9f960473 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -267,8 +267,8 @@ def with_paths_response_header(openapi_version): @pytest.fixture -def with_paths_response_content_type_octet(): - yield _get_parsed_yaml("paths-response-content-type-octet.yaml") +def with_paths_response_content_type_octet(openapi_version): + yield _get_parsed_yaml("paths-response-content-type-octet.yaml", openapi_version) @pytest.fixture diff --git a/tests/fixtures/paths-response-content-type-octet.yaml b/tests/fixtures/paths-response-content-type-octet.yaml index fa8a41b1..1edbbbba 100644 --- a/tests/fixtures/paths-response-content-type-octet.yaml +++ b/tests/fixtures/paths-response-content-type-octet.yaml @@ -13,7 +13,7 @@ paths: get: operationId: header responses: - 200: + "200": description: "ok" content: application/octet-stream: @@ -29,7 +29,7 @@ paths: get: operationId: octet responses: - 200: + "200": description: "ok" content: application/octet-stream: