(self, url, timeout, options)
| 202 | return output |
| 203 | |
| 204 | def _raw(self, url, timeout, options): |
| 205 | args = ["-v"] |
| 206 | if self._test_name is not None: |
| 207 | args.append(f'--header=AP-Test-Name: {self._test_name}') |
| 208 | if options: |
| 209 | args.extend(options) |
| 210 | r = self._baserun(url, timeout, args) |
| 211 | if 0 == r.exit_code: |
| 212 | r.add_results(self.parse_output(r.outraw)) |
| 213 | return r |
| 214 | |
| 215 | def get(self, url, timeout=5, options=None): |
| 216 | return self._raw(url, timeout, options) |
no test coverage detected