-
Notifications
You must be signed in to change notification settings - Fork 473
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
Add Afghanistan holidays #1144
Comments
While running the tests, I encountered an assertion error indicating a mismatch between the expected and actual supported languages for Afghanistan. The test expects only ['fa'], but the implementation supports both ['fa', 'ps']. I want to ensure that I am approaching this correctly and would greatly appreciate any guidance on how to resolve this discrepancy.
|
@Prateekshit73 , can you show the error in detail? To understand which test is failing. |
Error:- tests\test_utils.py:157: in assertLocalizedEntities |
Do you have file |
There is no |
You need to create folders in this path and place .po file there:
(quote from CONTRIBUTING.rst) |
Sorry for overlooking that; I'm still a newbie trying to contribute. Do I need to copy the |
Yes, AF.po with Pashto translation should be there. You can make it from AF.pot or AF.po (with Farsi translation), as you prefer. Feel free to ask anything you don't quite understand. |
Yes, as @KJhellico mentioned if you declare support for both |
Sorry for my silly mistakes, but I encountered a new error after implementing
|
We've started enforcing 100% test coverage recently -- you need to add tests for your code and they must cover all of it. It seems your code is ready for PR. Please create one and we'll take care of the issues together. Thank you! |
While pushing changes, it automatically runs make check, which causes the tests to fail for the same reason, preventing the push from succeeding. |
You can temporarily delete pre-push hook: pre-commit uninstall --hook-type pre-push Then, when coverage issue resolves, return it back: pre-commit install --hook-type pre-push |
It sounds like you need add |
Some links:
The text was updated successfully, but these errors were encountered: