meal-order-manager/tests
Adam Moussa 5db992b0be Fix close-form weekday guard and SSM auth fail-open
- Close form guard: check weekday == 3 (Thursday), not 4 (Friday) — the
  crons fire at Thursday 11:59 PM ET, when weekday() is 3
- SSM fail-closed: separate _google_auth_configured() (checks env var) from
  _get_google_client_id() (fetches value). If auth is configured but the SSM
  fetch fails, return 503 instead of silently falling back to manual auth
- Update close_form tests to use Thursday dates
- Add test_ssm_failure_fails_closed
2026-05-13 13:50:48 -04:00
..
conftest.py Apply ruff formatting 2026-05-13 13:25:40 -04:00
test_aggregate_orders.py Apply ruff formatting 2026-05-13 13:25:40 -04:00
test_close_form.py Fix close-form weekday guard and SSM auth fail-open 2026-05-13 13:50:48 -04:00
test_slack_notifier.py Apply ruff formatting 2026-05-13 13:25:40 -04:00
test_submit_order.py Fix close-form weekday guard and SSM auth fail-open 2026-05-13 13:50:48 -04:00