procurement-ingest/tests
Adam Moussa df80a2e3ec
test: address Open SWE review — xfail the web_ui non-ASCII auth pin, document subset coverage-floor override
- tests/test_web_ui_auth.py: replace the TypeError characterization pin with an
  xfail(strict, raises=TypeError) asserting the DESIRED fail-closed (False)
  behavior. Documents the intended fix and auto-fails (xpass) once web_ui_auth is
  corrected, instead of requiring a passing test to be knowingly deleted. The
  module stays frozen this phase; the underlying hmac.compare_digest ASCII-only
  defect is tracked as a follow-up.
- pytest.ini: document that the aggregate 80% floor (enforced in CI via the
  reusable workflow's bare pytest) red-exits local subset runs by design, with the
  --cov-fail-under=0 override for iteration. Floor stays in addopts because the
  centralized ci-python-sam workflow exposes no per-run test command.
2026-07-20 15:55:27 -04:00
..
support test: consolidate test roots — one repo-root loader, shared support package, missing-scenario suites, enforced ruff/coverage floor (refactor phase 8) 2026-07-20 15:44:15 -04:00
requirements.txt test: consolidate test roots — one repo-root loader, shared support package, missing-scenario suites, enforced ruff/coverage floor (refactor phase 8) 2026-07-20 15:44:15 -04:00
test_bundle_consistency.py feat: decompose email-processor handlers into flat siblings + lazy boto3 clients (refactor phase 5) (#113) 2026-07-20 15:34:53 -04:00
test_handler_auth_seam.py test: consolidate test roots — one repo-root loader, shared support package, missing-scenario suites, enforced ruff/coverage floor (refactor phase 8) 2026-07-20 15:44:15 -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_reprocess_contract.py Ops/recovery tooling + dependency hygiene (refactor phase 7) (#110) 2026-07-20 12:53:34 -04:00
test_ses_auth.py fix(ses_auth): harden comment stripping and alarm evaluation window (#103) 2026-07-16 19:00:40 +00:00
test_web_ui_auth.py test: address Open SWE review — xfail the web_ui non-ASCII auth pin, document subset coverage-floor override 2026-07-20 15:55:27 -04:00
test_web_ui_handlers.py test: lock attribute-context quote escaping in web_ui hostile-field test 2026-07-20 15:44:15 -04:00