mirror of
https://github.com/Sea-Haven-Industries/meal-order-manager.git
synced 2026-09-30 06:33:12 +00:00
|
Some checks failed
Deploy / deploy (push) Has been cancelled
* fix(test): mock get_settings/get_roster in aggregated tests + enable CI tests (INFRA-72) handle_orders_aggregated now delivers the summary via admin DMs (PR #15), adding get_settings/get_roster calls the aggregated tests never mocked, so they hit live DynamoDB. Mock both and assert the message content on the send_dm path. Set run-tests: true so the suite actually runs in CI. * fix(test): default AWS region in conftest so CI collection doesn't hit NoRegionError (INFRA-72) Handlers build boto3 clients at module load; CI runners have no AWS config, so test collection raised NoRegionError once the suite actually ran. Set a region default before imports (offline client construction; calls are mocked). * fix(test): add repo root to sys.path so CI's bare pytest collects functions.* (INFRA-72) test_aggregate_orders imports functions.aggregate_orders.handler, which needs the repo root on sys.path. python -m pytest injects CWD automatically but CI runs pytest directly, so these 11 tests errored at collection in CI only. |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_admin_authorizer.py | ||
| test_aggregate_orders.py | ||
| test_close_form.py | ||
| test_pdf.py | ||
| test_secrets.py | ||
| test_slack_notifier.py | ||
| test_submit_order.py | ||