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

Fixes #20502 -- i18n test bug discovered by Travis. #1219

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@qris
Contributor

qris commented May 26, 2013

If the following tests are run in this order:

  • defaultfilters.tests.DefaultFiltersTests.test_localized_filesizeformat
  • i18n.tests.AppResolutionOrderI18NTests

then the second test will fail because the first has cached the 'de' translation before the second one changes INSTALLED_APPS to install the test app, which has its own translation.

Fixes #20502 -- i18n test bug discovered by Travis.
If the following tests are run in this order:

* defaultfilters.tests.DefaultFiltersTests.test_localized_filesizeformat
* i18n.tests.AppResolutionOrderI18NTests

then the second test will fail because the first has cached the 'de'
translation before the second one changes INSTALLED_APPS to install
the test app, which has its own translation.
@claudep

This comment has been minimized.

Show comment
Hide comment
@claudep

claudep May 30, 2013

Member

Fixed in 9d06c6c

Member

claudep commented May 30, 2013

Fixed in 9d06c6c

@claudep claudep closed this May 30, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment