Skip to content

Commit 9991aef

Browse files
[GPCAPIM-321]-[Schemathesis - currently only running the success/positive cases]-[RP]
1 parent a1b413d commit 9991aef

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

gateway-api/tests/schema/test_openapi_schema.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ def test_api_schema_compliance(case: Case, base_url: str) -> None:
5252

5353
case.call_and_validate(
5454
base_url=base_url,
55-
excluded_checks=[schemathesis.checks.not_a_server_error],
55+
excluded_checks=[
56+
# GPCAPIM-421
57+
schemathesis.checks.not_a_server_error,
58+
# GPCAPIM-419
59+
schemathesis.checks.missing_required_header,
60+
# TODO Jira
61+
schemathesis.checks.unsupported_method,
62+
],
5663
timeout=30,
5764
)

schemathesis.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[generation]
2-
mode = "positive"
2+
mode = "all"

0 commit comments

Comments
 (0)