(server)
| 129 | |
| 130 | @pytest.mark.anyio |
| 131 | async 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 |