MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / test_badssl

Function test_badssl

tests/badssl_test.py:7–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5@pytest.mark.asyncio
6@pytest.mark.flaky(reruns=3, reruns_delay=2)
7async 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

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
updateMethod · 0.95

Tested by

no test coverage detected