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

Function test_options

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

Source from the content-addressed store, hash-verified

129
130@pytest.mark.anyio
131async def test_options(server):
132 async with httpx.AsyncClient() as client:
133 response = await client.options(server.url)
134 assert response.status_code == 200
135 assert response.text == "Hello, world!"
136
137
138@pytest.mark.anyio

Callers

nothing calls this directly

Calls 1

optionsMethod · 0.45

Tested by

no test coverage detected