(self, body, headers, status_code)
| 37 | self._urllib3_patch.stop() |
| 38 | |
| 39 | def add_response(self, body, headers, status_code): |
| 40 | response = AWSResponse( |
| 41 | url='http://169.254.169.254/', |
| 42 | status_code=status_code, |
| 43 | headers=headers, |
| 44 | raw=RawResponse(body.encode()), |
| 45 | ) |
| 46 | self._responses.append(response) |
| 47 | |
| 48 | |
| 49 | class JSONStubbedBenchmarkSuite(BaseBenchmarkSuite): |
no test coverage detected