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

Function test_send_form

tests/request_test.py:44–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42@pytest.mark.asyncio
43@pytest.mark.flaky(reruns=3, reruns_delay=2)
44async def test_send_form():
45 url = "https://httpbin.org/post"
46 response = await client.post(url, form=[("foo", "bar")])
47 json = await response.json()
48 assert json["form"] == {"foo": "bar"}
49
50
51@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

postMethod · 0.45
jsonMethod · 0.45

Tested by

no test coverage detected