Refactor test_no_holidays, now also test supported_categories by default#3197
Refactor test_no_holidays, now also test supported_categories by default#3197arkid15r merged 13 commits intovacanza:devfrom
test_no_holidays, now also test supported_categories by default#3197Conversation
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughQatar Eid‑al‑Adha confirmed-years extended to include 2025 and a 2025 New Year translation inlined; Timor‑Leste reclassified several Christian holidays and added locale translations; QA/TL snapshots updated; widespread test modernization converting fixed-year/category assertions into range- and helper-driven tests with many renames. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (15)📓 Common learnings📚 Learning: 2025-09-10T14:35:54.603ZApplied to files:
📚 Learning: 2025-11-08T05:09:56.159ZApplied to files:
📚 Learning: 2025-09-18T03:19:23.722ZApplied to files:
📚 Learning: 2025-04-05T04:47:27.213ZApplied to files:
📚 Learning: 2025-08-28T02:42:52.755ZApplied to files:
📚 Learning: 2025-09-20T12:24:28.864ZApplied to files:
📚 Learning: 2025-09-14T16:19:23.651ZApplied to files:
📚 Learning: 2025-09-12T21:37:10.710ZApplied to files:
📚 Learning: 2025-04-08T14:46:10.656ZApplied to files:
📚 Learning: 2025-09-14T16:02:15.480ZApplied to files:
📚 Learning: 2025-09-19T10:01:41.205ZApplied to files:
📚 Learning: 2025-09-14T16:12:41.385ZApplied to files:
📚 Learning: 2025-09-20T12:21:50.877ZApplied to files:
📚 Learning: 2025-08-25T04:28:02.061ZApplied to files:
⏰ 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). (5)
🔇 Additional comments (1)
✏️ 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. Additional details and impacted files@@ Coverage Diff @@
## dev #3197 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 307 307
Lines 18313 18312 -1
Branches 2338 2338
=========================================
- Hits 18313 18312 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: ~Jhellico <[email protected]> Signed-off-by: Panpakorn Siripanich <[email protected]>
Co-authored-by: ~Jhellico <[email protected]> Signed-off-by: Panpakorn Siripanich <[email protected]>
f8851d7
Co-authored-by: Arkadii Yakovets <[email protected]> Signed-off-by: Panpakorn Siripanich <[email protected]>
5c291d4
|



Proposed change
From #3187:
Alongside refactoring existing code to the new implementation.
Aside from this, since
self.start_year - 1supported categories tests are now handled bysuper().test_no_holidays()- maybe we can reuse the existing methods to extend their code coverage.Type of change
holidaysfunctionality in general)Checklist
make checklocally; all checks and tests passed.