MCPcopy
hub / github.com/encode/httpx / test_patch

Function test_patch

tests/client/test_client.py:170–174  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

168
169
170def test_patch(server):
171 with httpx.Client() as client:
172 response = client.patch(server.url, content=b"Hello, world!")
173 assert response.status_code == 200
174 assert response.reason_phrase == "OK"
175
176
177def test_delete(server):

Callers

nothing calls this directly

Calls 1

patchMethod · 0.45

Tested by

no test coverage detected