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

Class DummySession

tests/test_anyauto_sentinel_flow.py:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18
19class DummySession:
20 def __init__(self):
21 self.calls = []
22
23 def post(self, url, **kwargs):
24 self.calls.append({"url": url, "kwargs": kwargs})
25 return DummyResponse(status_code=200, payload={"page": {"type": "about_you"}}, url=url)
26
27
28def _header_value(headers, name: str):

Calls

no outgoing calls