(self, status: int, *, text: str = "", payload=None)
| 1976 | |
| 1977 | class FakeResponse: |
| 1978 | def __init__(self, status: int, *, text: str = "", payload=None): |
| 1979 | self.status = status |
| 1980 | self._text = text |
| 1981 | self._payload = payload or {} |
| 1982 | self.headers = {} |
| 1983 | self.content = FakeContent(text) |
| 1984 | |
| 1985 | async def __aenter__(self): |
| 1986 | return self |
nothing calls this directly
no test coverage detected