procurement-ingest/tests
Adam Moussa 0280109e76
Load Lambda function dir on sys.path in tests
Rebasing INFRA-107 onto main folded #95's pytest suite into this
branch's tests. The unified conftest loads the PO/WO handlers by file
path, and handler.py now does `from ses_auth import
authenticate_inbound_email` -- a bare sibling import that resolves in
the Lambda only because the runtime puts each function's own directory
on sys.path. The shared load_handler now adds that directory so the
handler tests import correctly alongside the sender-auth tests.

Refs: INFRA-107
2026-07-15 20:24:07 -04:00
..
conftest.py Load Lambda function dir on sys.path in tests 2026-07-15 20:24:07 -04:00
requirements.txt Land safe fixes from 2026-06-17 security sweep (#97) 2026-07-15 20:17:46 -04:00
test_pad_zip.py Add pytest suite and enable tests in CI (#95) 2026-07-15 19:06:20 -04:00
test_parse_raw_email.py Add pytest suite and enable tests in CI (#95) 2026-07-15 19:06:20 -04:00
test_po_merge.py Land safe fixes from 2026-06-17 security sweep (#97) 2026-07-15 20:17:46 -04:00
test_ses_auth.py Fix quoted-AUID DKIM domain spoof in sender auth 2026-07-15 20:24:07 -04:00