()
| 33 | @pytest.mark.asyncio |
| 34 | @pytest.mark.flaky(reruns=3, reruns_delay=2) |
| 35 | async def test_send_cookies(): |
| 36 | url = "https://httpbin.org/cookies" |
| 37 | response = await client.get(url, cookies={"foo": "bar"}) |
| 38 | json = await response.json() |
| 39 | assert json["cookies"] == {"foo": "bar"} |
| 40 | |
| 41 | |
| 42 | @pytest.mark.asyncio |