e2e tests pass locally

This commit is contained in:
alexjanousekGSA
2025-05-02 10:43:07 -04:00
parent 149d8e3ce5
commit eff92773cc
11 changed files with 91 additions and 220 deletions

View File

@@ -13,7 +13,9 @@ def is_api_down():
response = requests.get(api_base_url, timeout=2)
is_down = response.status_code != 200
if is_down:
logger.warning(f"API responded with status {response.status_code} at {api_base_url}")
logger.warning(
f"API responded with status {response.status_code} at {api_base_url}"
)
return is_down
except RequestException as e:
logger.error(f"API down when loading homepage {e}")