Add missing content type headers to /ping and /health (#17036) (#17786)

Signed-off-by: Ximo Guanter <ximo.guanter@gmail.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Ximo Guanter
2025-05-10 08:13:32 +02:00
committed by GitHub
parent 246e3e0a36
commit fc4441a4ee
2 changed files with 5 additions and 5 deletions

View File

@@ -44,6 +44,6 @@ schema = schemathesis.from_pytest_fixture("get_schema")
@schema.parametrize()
@schema.override(headers={"Content-Type": "application/json"})
async def test_openapi_stateless(case):
def test_openapi_stateless(case: schemathesis.Case):
#No need to verify SSL certificate for localhost
await case.call_and_validate(verify=False)
case.call_and_validate(verify=False)