()
| 7 | @pytest.mark.asyncio |
| 8 | @pytest.mark.flaky(reruns=3, reruns_delay=2) |
| 9 | async def test_gzip(): |
| 10 | url = "https://httpbin.org/gzip" |
| 11 | response = await client.get(url) |
| 12 | text = await response.text() |
| 13 | assert text is not None |
| 14 | assert "gzipped" in text |
| 15 | |
| 16 | |
| 17 | @pytest.mark.asyncio |