[test]: return PDF from report runner - #8335
Conversation
|
Warning One or more dependencies are approaching or past End-of-Life. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe placeholder arithmetic test is replaced with Django coverage for ChangesReport runner endpoint testing
🚥 Pre-merge checks | ✅ 5 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@specifyweb/backend/report_runner/tests.py`:
- Around line 67-68: In the test around the requests_post mock, assert that it
was called exactly once before reading call_args. Keep the existing request URL
and data argument inspections unchanged after this call-count assertion.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 9ad3d876-3b29-4012-b197-3b9948f65745
📒 Files selected for processing (1)
specifyweb/backend/report_runner/tests.py
Fixes #8330
Summary by CodeRabbit
application/pdf.