-
Notifications
You must be signed in to change notification settings - Fork 8
Collection: Fixing crawler fixture #523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The crawler fixture was being imported directly in test files, which linters flagged as an "unused import" since fixtures aren't explicitly called. This led to accidental removal and test failures. Moving the fixture to a conftest.py file follows pytest best practices for fixture discovery and avoids lint false positives. Co-Authored-By: Claude Opus 4.5 <[email protected]>
📝 WalkthroughWalkthroughThe changes relocate the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (5)
💤 Files with no reviewable changes (3)
🧰 Additional context used📓 Path-based instructions (2)**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
backend/app/tests/**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-12-17T15:39:30.469ZApplied to files:
🧬 Code graph analysis (2)backend/app/tests/api/routes/documents/conftest.py (3)
backend/app/tests/api/routes/documents/test_route_document_permanent_remove.py (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (2)
✏️ Tip: You can disable this entire section by setting 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
The crawler fixture was being imported directly in test files, which linters flagged as an "unused import" since fixtures aren't explicitly called. This led to accidental removal and test failures. Moving the fixture to a conftest.py file follows pytest best practices for fixture discovery and avoids lint false positives