From 9991aefdfa158a5be95dca900e662027f49032c8 Mon Sep 17 00:00:00 2001 From: russellpollock Date: Fri, 24 Apr 2026 08:37:58 +0000 Subject: [PATCH] [GPCAPIM-321]-[Schemathesis - currently only running the success/positive cases]-[RP] --- gateway-api/tests/schema/test_openapi_schema.py | 9 ++++++++- schemathesis.toml | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gateway-api/tests/schema/test_openapi_schema.py b/gateway-api/tests/schema/test_openapi_schema.py index 1ee0f06a..a516698d 100644 --- a/gateway-api/tests/schema/test_openapi_schema.py +++ b/gateway-api/tests/schema/test_openapi_schema.py @@ -52,6 +52,13 @@ def test_api_schema_compliance(case: Case, base_url: str) -> None: case.call_and_validate( base_url=base_url, - excluded_checks=[schemathesis.checks.not_a_server_error], + excluded_checks=[ + # GPCAPIM-421 + schemathesis.checks.not_a_server_error, + # GPCAPIM-419 + schemathesis.checks.missing_required_header, + # TODO Jira + schemathesis.checks.unsupported_method, + ], timeout=30, ) diff --git a/schemathesis.toml b/schemathesis.toml index ac9da2d4..1bc77020 100644 --- a/schemathesis.toml +++ b/schemathesis.toml @@ -1,2 +1,2 @@ [generation] -mode = "positive" +mode = "all"