()
| 5 | @pytest.mark.asyncio |
| 6 | @pytest.mark.flaky(reruns=3, reruns_delay=2) |
| 7 | async def test_badssl(): |
| 8 | client = rnet.Client(verify=False) |
| 9 | resp = await client.get("https://self-signed.badssl.com/") |
| 10 | assert resp.status == 200 |
| 11 | |
| 12 | client.update(impersonate=rnet.Impersonate.Chrome100) |
| 13 | resp = await client.get("https://self-signed.badssl.com/") |
| 14 | assert resp.status == 200 |