MCPcopy Create free account
hub / github.com/HisMax/RedInk / __init__

Method __init__

tests/image_api_client_test.py:9–14  ·  view source on GitHub ↗
(self, status_code=200, payload=None, text="", content=b"")

Source from the content-addressed store, hash-verified

7
8class FakeResponse:
9 def __init__(self, status_code=200, payload=None, text="", content=b""):
10 self.status_code = status_code
11 self._payload = payload or {}
12 self.text = text
13 self.content = content
14 self.headers = {}
15
16 def json(self):
17 return self._payload

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected