MCPcopy
hub / github.com/psf/requests / test_encoded_methods

Method test_encoded_methods

tests/test_requests.py:2573–2576  ·  view source on GitHub ↗

See: https://github.com/psf/requests/issues/2316

(self, httpbin)

Source from the content-addressed store, hash-verified

2571 pass
2572
2573 def test_encoded_methods(self, httpbin):
2574 """See: https://github.com/psf/requests/issues/2316"""
2575 r = requests.request(b"GET", httpbin("get"))
2576 assert r.ok
2577
2578
2579SendCall = collections.namedtuple("SendCall", ("args", "kwargs"))

Callers

nothing calls this directly

Calls 2

httpbinFunction · 0.85
requestMethod · 0.80

Tested by

no test coverage detected