(url, headers={})
| 182 | |
| 183 | @retry(stop_max_attempt_number=MAX_RETRIES, wait_fixed=BACKOFF_SECS * 1000) |
| 184 | def send_request(url, headers={}): |
| 185 | with requests.Session() as s: |
| 186 | resp = s.get(url, timeout=BACKOFF_SECS, headers=headers) |
| 187 | assert resp.status_code == 200, f"{url} returned {resp}" |
| 188 | return resp.status_code == 200 |
no test coverage detected
searching dependent graphs…