(response: requests.Response)
| 72 | |
| 73 | |
| 74 | def assert_successful_response(response: requests.Response): |
| 75 | assert "errors" not in response.json() |
| 76 | assert type(response.json()["data"]) == dict |
| 77 | assert len(response.json()["data"]) == 1 |
| 78 | |
| 79 | |
| 80 | # TODO: implement this so we can use the with sintax |
no outgoing calls
no test coverage detected