-
Notifications
You must be signed in to change notification settings - Fork 21
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
tests fail with german locale #608
Comments
I get the same errors, both on master and on #559, so it must be a general thing rather that linked to the locale on your machine. Could you add |
It's because I translated the respective sentence recently in d2d5b66#diff-47e0a4d998e7e37cf9f5390e3f39c7e5adf8e11eb7e45224092a56fd0e79b0deR647 |
this works. Do we have tests depending on translations or should we go for a more general solution? |
and do we have to reset the language as stated here? https://docs.djangoproject.com/en/5.1/topics/testing/tools/#setting-the-language |
But then the tests in the github actions should have failed since then? I'm not sure how they can be green 🤔 For requests where a used is logged in, we set the language in
For the tests that you noticed were failing, there is no logged in user, though the question is kind of the same, we can either:
I'm a bit more in favor of adding it only where it's relevant, so the second option in both cases. Do you have an opinion? |
I guess because I have a German Locale, some tests comparing messages fail, for example:
In total these three:
The text was updated successfully, but these errors were encountered: