Skip to content

Commit

Permalink
Remove esclusion of options method
Browse files Browse the repository at this point in the history
  • Loading branch information
francbartoli committed Oct 12, 2024
1 parent ef7b328 commit 95575a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_openapi_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
schema_bearer = schemathesis.from_pytest_fixture("protected_bearer_schema")


@schema_apikey.exclude(method="OPTIONS").parametrize()
@schema_apikey.parametrize()
def test_api_with_apikey(case):
"""Test the API with API-KEY protection."""
if case.path_parameters:
Expand All @@ -23,7 +23,7 @@ def test_api_with_apikey(case):
case.validate_response(response)


@schema_bearer.exclude(method="OPTIONS").parametrize()
@schema_bearer.parametrize()
def test_api_with_bearer(case, access_token):
"""Test the API with Authorization Bearer token protection."""
if case.path_parameters:
Expand Down

0 comments on commit 95575a4

Please sign in to comment.