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

Function test_send_cookies

tests/request_test.py:35–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
jsonMethod · 0.45

Tested by

no test coverage detected