()
| 42 | @pytest.mark.asyncio |
| 43 | @pytest.mark.flaky(reruns=3, reruns_delay=2) |
| 44 | async def test_send_form(): |
| 45 | url = "https://httpbin.org/post" |
| 46 | response = await client.post(url, form=[("foo", "bar")]) |
| 47 | json = await response.json() |
| 48 | assert json["form"] == {"foo": "bar"} |
| 49 | |
| 50 | |
| 51 | @pytest.mark.asyncio |