()
| 69 | @pytest.mark.asyncio |
| 70 | @pytest.mark.flaky(reruns=3, reruns_delay=2) |
| 71 | async def test_send_bytes(): |
| 72 | url = "https://httpbin.org/post" |
| 73 | response = await client.post(url, body=b"hello") |
| 74 | json = await response.json() |
| 75 | assert json["data"] == "hello" |
| 76 | |
| 77 | |
| 78 | @pytest.mark.asyncio |