summaryrefslogtreecommitdiff
path: root/tests/i18n
AgeCommit message (Collapse)Author
2017-02-23Fixed #27868 -- Filtered locale path subdirectoriesClaude Paroz
Thanks Tim Graham for the review.
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-02-01Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis
2017-01-30Refs #23919 -- Removed usage of obsolete SafeBytes classClaude Paroz
The class will be removed as part of #27753. Thanks Tim Graham for the review.
2017-01-25Refs #23919 -- Removed misc Python 2/3 references.Tim Graham
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-24Removed unneeded force_text calls in the test suiteClaude Paroz
2017-01-21Refs #23919 -- Removed misc references to Python 2.Tim Graham
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-20Refs #23919 -- Removed unneeded str() callsClaude Paroz
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Replaced io.open() with open().Aymeric Augustin
io.open() is an alias for open() on Python 3.
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-06Fixed #24423 -- Reorganized i18n tag tests.Andy Craze
2016-12-21Refs #25753 -- Reset l10n cache when format settings changeClaude Paroz
Thanks Jaap Roes for the initial patch.
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-12-01Refs #27546 -- Tested some __repr__() methods.Keda87
2016-11-29Fixed #27402 -- Fixed incorrect LocaleMiddleware redirects with ↵Krzysztof Urbaniak
prefix_default_language=False.
2016-11-14Fixed #27463 -- Fixed E741 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-11-08Skipped makemessages -l tests when xgettext isn't installed.Marti Raudsepp
2016-10-31Fixed #27063 -- Prevented i18n_patterns() from using too much of the URL as ↵Krzysztof Urbaniak
the language.
2016-10-31Added additional tests for translation's get_language_from_path().Krzysztof Urbaniak
2016-10-01Refs #26940 -- Re-allowed makemessages without settingsClaude Paroz
Thanks Tim Graham for the review.
2016-09-21Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 ↵Jon Dufresne
boolean syntax.
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-08-25Fixed #27067 -- Deprecated string_concat() in favor of format_lazy().Mattias Loverot
2016-08-16Replaced 'raise SkipTest' with self.skipTest() in a few tests.Tim Graham
2016-08-11Fixed #27034 -- Made makemessages independent of USE_I18NClaude Paroz
Thanks Tim Graham for the review.
2016-07-24Fixed #26945 -- Ensured that i18n_patterns returns a listAlex Hill
2016-07-21Fixed #26924 -- Fixed i18n test failure on Mac OS X.Tobias McNulty
2016-07-14Fixed #26897 -- Fixed makemessages crash on Python 2 with non-ASCII file namesClaude Paroz
Thanks Tim Graham for the review.
2016-06-28Replaced use of TestCase.fail() with assertRaises().Tim Graham
Also removed try/except/fail antipattern that hides exceptions.
2016-06-22Fixed #25920 -- Added support for non-uniform NUMBER_GROUPING.jasisz
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-06-13Removed some blank lines per isort.Tim Graham
2016-06-13Fixed #26746 -- Fixed handling of zero priority in Accept-Language header ↵Vytis Banaitis
parsing.
2016-06-11Fixed #26744 -- Fixed a typo in regex for Accept-Language header parsing.Vytis Banaitis
2016-06-11Refs #26677 -- Simplified i18n test cleanups.Ramiro Morales
The fact that we aren't dealing with the Django source tree anymore allows us to drop several tearDown()/addCleanup() calls that were concerned with removing apiece files/dirs/symlinks created by test cases, as we are covered by the removal of the parent temporary tree anyways. Thanks Tim Graham for advice and review.
2016-06-09Fixed #26677 -- Converted some i18n tests to use disposable FS tree.Ramiro Morales
This allows makemessages/compilemessages tests in `test_extraction.py` and `test_compilation.py` to actually run isolated from each other (unaffected by stray FS objects left by cleanup actions failures, debug sessions, etc.) and to take advantage of the parallel tests execution feature like most of the Django test suite. `test_percents.py` gets slightly refactored to not inherit from the new machinery which sets up every test case to copy and run under a temporary tree.
2016-06-08Fixed #26705 -- Fixed plural versions of languages not supported by Django.Thejaswi Puthraya
2016-06-01Fixed #26692 -- Relaxed an i18n compilemessages test.Ramiro Morales
The actual non-ASCII character differs on Windows.
2016-05-31Fixed #26687 -- Made an i18n test not use a hardcoded path separator.Ramiro Morales
Fixed a failure on Windows.
2016-05-29Fixed #26674 -- Corrected a i18n makemessages test.Ramiro Morales
Made it consistently read the PO file, decode its contents and then check for the non-breaking space Unicode code point. Previously we were erroneously skipping the interpretation of what we read as UTF-8 text. This was causing the test to fail on Windows with Python 3.5.
2016-05-28Fixed #26673 -- Fixed a I18N test case error on Windows+Python 2.7.Ramiro Morales
`subprocess.Popen` doesn't accept enviroment vars with Unicode var name or value.