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

Function test_delete

tests/client/test_async_client.py:161–165  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

159
160@pytest.mark.anyio
161async def test_delete(server):
162 async with httpx.AsyncClient() as client:
163 response = await client.delete(server.url)
164 assert response.status_code == 200
165 assert response.text == "Hello, world!"
166
167
168@pytest.mark.anyio

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected