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

Function fake_get

tests/test_codex2api_upload.py:86–89  ·  view source on GitHub ↗
(url, **kwargs)

Source from the content-addressed store, hash-verified

84 calls = {}
85
86 def fake_get(url, **kwargs):
87 calls["url"] = url
88 calls["kwargs"] = kwargs
89 return FakeResponse(status_code=200, payload={"status": "ok"})
90
91 monkeypatch.setattr(codex2api_upload.cffi_requests, "get", fake_get)
92

Callers

nothing calls this directly

Calls 1

FakeResponseClass · 0.70

Tested by

no test coverage detected