Files
gh-christianlouis-dmarq/backend
copilot-swe-agent[bot] 204131ee2a Add tests for domain reports and sources endpoints (fix Codecov patch coverage)
- test_get_domain_reports_returns_200: basic 200 success path
- test_get_domain_reports_policy_dict_extracted: policy{"p":...} → "reject"
- test_get_domain_reports_policy_string_preserved: string policy unchanged
- test_get_domain_reports_timestamps_are_integers: begin/end_timestamp used
- test_get_domain_reports_unknown_domain_returns_404: 404 guard
- test_get_domain_sources_returns_200: sources returned correctly
- test_get_domain_sources_days_param_accepted: 'days' kwarg no TypeError
- test_get_domain_sources_unknown_domain_returns_404: 404 guard

Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/a6f52c82-f239-4910-ac08-50702c154f93

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-29 21:10:06 +00:00
..