MCPcopy
hub / github.com/AstrBotDevs/AstrBot / post

Method post

tests/test_kook/test_kook_client.py:100–103  ·  view source on GitHub ↗
(self, url: str, data: FakeFormData)

Source from the content-addressed store, hash-verified

98
99 class FakeHttpClient:
100 def post(self, url: str, data: FakeFormData):
101 captured["url"] = url
102 captured["data"] = data
103 return FakeResponse()
104
105 monkeypatch.setattr(
106 "astrbot.core.platform.sources.kook.kook_client.aiohttp.FormData",

Calls 1

FakeResponseClass · 0.70

Tested by

no test coverage detected