MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / fake_get

Function fake_get

tests/test_desktop_gui.py:2483–2487  ·  view source on GitHub ↗
(url, **kwargs)

Source from the content-addressed store, hash-verified

2481 return None
2482
2483 def json(self):
2484 return self._payload
2485
2486 calls = []
2487
2488 def fake_post(url, **kwargs):
2489 calls.append(("post", url, kwargs))
2490 return FakeResponse({"code": 0, "data": {"task_id": "task-1"}})

Callers

nothing calls this directly

Calls 1

FakeResponseClass · 0.70

Tested by

no test coverage detected