MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / request

Method request

tests/test_yyds_mail_service.py:22–30  ·  view source on GitHub ↗
(self, method, url, **kwargs)

Source from the content-addressed store, hash-verified

20 self.calls = []
21
22 def request(self, method, url, **kwargs):
23 self.calls.append({
24 "method": method,
25 "url": url,
26 "kwargs": kwargs,
27 })
28 if not self.responses:
29 raise AssertionError(f"未准备响应: {method} {url}")
30 return self.responses.pop(0)
31
32
33def test_create_email_uses_api_key_and_parses_wrapped_payload():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected