summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_encoding.py
AgeCommit message (Expand)Author
2023-11-28Refs #34986 -- Fixed some test assertions for PyPy.Nick Pope
2023-09-04Fixed CVE-2023-41164 -- Fixed potential DoS in django.utils.encoding.uri_to_i...Mariusz Felisiak
2022-03-08Refs #33173 -- Used locale.getlocale() instead of getdefaultlocale().Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2019-10-30Refs #28428 -- Made filepath_to_uri() support pathlib.Path.Hasan Ramezani
2019-10-29Used more specific unittest assertions in tests.Nick Pope
2019-08-26Refs #27804 -- Used subTest() in utils_tests/test_encoding.py.Jon Dufresne
2019-08-01Fixed CVE-2019-14235 -- Fixed potential memory exhaustion in django.utils.enc...Florian Apolloner
2019-02-06Refs #27753 -- Favored force/smart_str() over force/smart_text().Aymeric Augustin
2018-07-09Fixed some assertTrue() that were intended to be assertEqual().Sergey Fedoseev
2018-07-09Made test for memoryview handling in force_bytes() more strict.Sergey Fedoseev
2017-02-22Completed test coverage for django.utils.encoding.Tim Graham
2017-02-09Fixed #26005 -- Fixed some percent decoding cases in uri_to_iri().Chronial
2017-02-09Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham
2017-02-03Removed an untested and broken branch in force_bytes() (refs #6353).Tim Graham
2017-02-03Added a test for force_text()'s DjangoUnicodeDecodeError path.Tim Graham
2017-01-30Refs #23919 -- Removed usage of obsolete SafeBytes classClaude Paroz
2017-01-26Refs #23919 -- Replaced usage of django.utils.http utilities with Python equi...Claude Paroz
2017-01-24Removed unneeded force_text calls in the test suiteClaude Paroz
2017-01-20Refs #23919 -- Removed unneeded str() callsClaude Paroz
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-05-27Fixed #24836 -- Made force_text() resolve lazy objects.Tim Graham
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-27Cleaned up some forms tests.Loic Bistuer
2014-11-03Fixed #18456 -- Added path escaping to HttpRequest.get_full_path().Unai Zalakain
2014-10-16Fixed #19508 -- Implemented uri_to_iri as per RFC.Anubhav Joshi
2014-09-23Consolidated some text utils into the utils_tests test package.Loic Bistuer
2013-10-13Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible.Aymeric Augustin
2013-09-06Fixed #20812 -- Error out if __unicode__/__str__ doesn't return a text type.Florian Apolloner
2013-09-06Fixed #18719 -- Made force_bytes more consistent with force_text.Aymeric Augustin
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
2013-04-12Modified utils_tests for unittest2 discovery.Preston Timmons