(self, status_code=200, payload=None, text="")
| 5 | |
| 6 | class FakeResponse: |
| 7 | def __init__(self, status_code=200, payload=None, text=""): |
| 8 | self.status_code = status_code |
| 9 | self._payload = payload |
| 10 | self.text = text |
| 11 | |
| 12 | def json(self): |
| 13 | if self._payload is None: |
nothing calls this directly
no outgoing calls
no test coverage detected