meal-order-manager/tests
Adam Moussa 5c040bf55c Fix PR review findings: auth, rounding, and close-form guard
- Remove dead elif branch in submit_order auth (always returned 403)
- Catch HTTPError before URLError so expired tokens return 403 not 503
- Wrap SSM get_parameter in try/except for fresh deployments
- Add wall-clock guard to close_form handler (Friday >= 11 PM ET)
- Add epsilon nudge to JS employeePrice for IEEE 754 boundary match
- Switch Flask dev server from round() to Decimal ROUND_HALF_UP
- Add tests for HTTPError handling and close_form guard (6 new tests)
2026-05-13 13:39:18 -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 PR review findings: auth, rounding, and close-form guard 2026-05-13 13:39:18 -04:00
test_slack_notifier.py Apply ruff formatting 2026-05-13 13:25:40 -04:00
test_submit_order.py Fix PR review findings: auth, rounding, and close-form guard 2026-05-13 13:39:18 -04:00