Files
parsedmarc/tests
Sean WhalenandClaude Fable 5 ae5a5043ab Cover the remaining gsecops.py branches with sample-driven tests
Bring parsedmarc/gsecops.py from 96% to 100% coverage:

- principal hostname from an enriched source reverse DNS name
- the literal "none" placeholder in policy_override_reasons /
  policy_override_comments is dropped from additional
  (samples/aggregate/empty_reason.xml)
- SMTP TLS failure details map sending-mta-ip to principal.ip and
  receiving-ip to target.ip (the RFC 8460 Appendix B sample)
- target hostname falls back to receiving-mx-hostname when a report
  carries an empty policy-domain

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 16:45:56 -04:00
..