Skip to content

Commit

Permalink
Fix slow fuzzy test by making it use cxapp and asgi test calls
Browse files Browse the repository at this point in the history
  • Loading branch information
juhoinkinen committed Apr 5, 2024
1 parent f4c28dc commit a0a7246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def test_openapi_fuzzy(case, cxapp):
@pytest.mark.slow
@schema.parametrize(endpoint="/v1/projects/{project_id}")
@settings(max_examples=50)
def test_openapi_fuzzy_target_dummy_fi(case, app):
def test_openapi_fuzzy_target_dummy_fi(case, cxapp):
case.path_parameters = {"project_id": "dummy-fi"}
response = case.call_wsgi(app)
response = case.call_asgi(cxapp)
case.validate_response(response)


Expand Down

0 comments on commit a0a7246

Please sign in to comment.