MCPcopy
hub / github.com/authlib/authlib / fake_send

Function fake_send

tests/clients/test_requests/test_oauth1_session.py:32–37  ·  view source on GitHub ↗
(r, **kwargs)

Source from the content-addressed store, hash-verified

30def test_signature_types():
31 def verify_signature(getter):
32 def fake_send(r, **kwargs):
33 signature = to_unicode(getter(r))
34 assert "oauth_signature" in signature
35 resp = mock.MagicMock(spec=requests.Response)
36 resp.cookies = []
37 return resp
38
39 return fake_send
40

Callers

nothing calls this directly

Calls 1

to_unicodeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…