mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-09 12:27:46 +00:00
Change deprecated httpx data usage in tests to content
This commit is contained in:
@@ -82,7 +82,7 @@ def test_errors(problem_app):
|
||||
|
||||
unsupported_media_type = app_client.post(
|
||||
"/v1.0/post_wrong_content_type",
|
||||
data="<html></html>",
|
||||
content="<html></html>",
|
||||
headers={"content-type": "text/html"},
|
||||
)
|
||||
assert unsupported_media_type.status_code == 415
|
||||
|
||||
Reference in New Issue
Block a user