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

Function test_send_bytes

tests/request_test.py:71–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69@pytest.mark.asyncio
70@pytest.mark.flaky(reruns=3, reruns_delay=2)
71async def test_send_bytes():
72 url = "https://httpbin.org/post"
73 response = await client.post(url, body=b"hello")
74 json = await response.json()
75 assert json["data"] == "hello"
76
77
78@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

postMethod · 0.45
jsonMethod · 0.45

Tested by

no test coverage detected