-
-
Notifications
You must be signed in to change notification settings - Fork 554
Fix Islamic holidays tests #2849
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
Summary by CodeRabbit
WalkthroughTest updates across Afghanistan, Azerbaijan, and Kazakhstan: adjust year-range arguments, introduce class-level calendars with islamic_show_estimated=False, pass years_non_observed in setup, and refactor assertions to use dedicated calendars or string-date checks for non-observed and non-estimated Islamic holidays. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (3)
🧰 Additional context used🧠 Learnings (20)📓 Common learnings
📚 Learning: 2025-06-13T12:18:03.539Z
Applied to files:
📚 Learning: 2025-04-05T04:47:27.213Z
Applied to files:
📚 Learning: 2025-05-06T21:07:11.577Z
Applied to files:
📚 Learning: 2025-04-05T04:50:40.752Z
Applied to files:
📚 Learning: 2025-04-04T10:52:41.546Z
Applied to files:
📚 Learning: 2025-04-04T10:52:41.546Z
Applied to files:
📚 Learning: 2025-04-05T04:33:53.254Z
Applied to files:
📚 Learning: 2025-07-24T15:21:31.632Z
Applied to files:
📚 Learning: 2025-04-23T14:55:35.504Z
Applied to files:
📚 Learning: 2025-06-18T17:01:58.067Z
Applied to files:
📚 Learning: 2025-04-05T04:29:38.042Z
Applied to files:
📚 Learning: 2025-06-18T17:01:58.067Z
Applied to files:
📚 Learning: 2025-06-22T21:36:18.015Z
Applied to files:
📚 Learning: 2025-06-16T15:48:48.680Z
Applied to files:
📚 Learning: 2025-07-09T21:16:35.145Z
Applied to files:
📚 Learning: 2025-04-05T06:49:06.217Z
Applied to files:
📚 Learning: 2025-06-15T11:52:39.572Z
Applied to files:
📚 Learning: 2025-06-14T10:58:43.636Z
Applied to files:
📚 Learning: 2025-04-02T18:38:35.164Z
Applied to files:
🧬 Code graph analysis (3)tests/countries/test_azerbaijan.py (2)
tests/countries/test_kazakhstan.py (2)
tests/countries/test_afghanistan.py (1)
⏰ Context from checks skipped due to timeout of 300000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (8)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, Documentation and Community
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #2849 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 286 286
Lines 17040 17040
Branches 2229 2229
=========================================
Hits 17040 17040 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🛠️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Proposed change
Fix Islamic holidays tests in several countries.
Type of change
holidays
functionality in general)Checklist
make check
locally; all checks and tests passed.