django/tests/utils_tests
Keryn Knight 55022f75c1 Fixed #33465 -- Added empty __slots__ to SafeString and SafeData.
Despite inheriting from the str type, every SafeString instance gains
an empty __dict__ due to the normal, expected behaviour of type
subclassing in Python.

Adding __slots__ to SafeData is necessary, because otherwise inheriting
from that (as SafeString does) will give it a __dict__ and negate the
benefit added by modifying SafeString.
2022-01-29 13:50:34 +01:00
..
archives Fixed #30160 -- Added support for LZMA and XZ templates to startapp/startproject management commands. 2019-07-31 10:02:13 +02:00
eggs
files Refs #32956 -- Updated words ending in -wards. 2021-07-30 20:34:50 +02:00
test_module Fixed #32669 -- Fixed detection when started non-django modules which aren't packages with "python -m" in autoreloader. 2021-05-26 12:29:43 +02:00
traversal_archives Fixed CVE-2021-3281 -- Fixed potential directory-traversal via archive.extract(). 2021-02-01 09:07:36 +01:00
__init__.py
deconstructible_classes.py Refs #21275 -- Added more tests for @deconstructible decorator. 2022-01-04 13:08:36 +01:00
models.py
test_archive.py Fixed #32821 -- Updated os.scandir() uses to use a context manager. 2021-06-07 06:52:42 +02:00
test_autoreload.py Fixed #33027 -- Made autoreloader pass -X options. 2021-09-29 11:37:50 +02:00
test_baseconv.py Fixed #32712 -- Deprecated django.utils.baseconv module. 2021-05-07 11:57:40 +02:00
test_connection.py Fixed #32233 -- Cleaned-up duplicate connection functionality. 2020-12-08 08:55:44 +01:00
test_crypto.py Updated various links to HTTPS and new locations. 2021-12-02 11:27:29 +01:00
test_datastructures.py Refs #24121 -- Added __repr__() to OrderedSet. 2021-03-10 09:29:05 +01:00
test_dateformat.py Completed test coverage for django.utils.dateformat. 2021-07-13 13:21:10 +02:00
test_dateparse.py Fixed #33368 -- Fixed parse_duration() crash on invalid separators for decimal fractions. 2021-12-20 06:46:34 +01:00
test_datetime_safe.py Fixed #32738 -- Deprecated django.utils.datetime_safe module. 2021-05-12 14:42:17 +02:00
test_deconstruct.py Refs #33216 -- Made @deconstructible do not change path for subclasses. 2022-01-04 13:15:29 +01:00
test_decorators.py Refs #26601 -- Deprecated passing None as get_response arg to middleware classes. 2020-02-18 20:03:44 +01:00
test_duration.py
test_encoding.py Refs #28428 -- Made filepath_to_uri() support pathlib.Path. 2019-10-30 13:13:15 +01:00
test_feedgenerator.py Switched TestCase to SimpleTestCase where possible in Django's tests. 2018-11-27 08:58:44 -05:00
test_functional.py Fixed #30127 -- Deprecated name argument of cached_property(). 2021-12-16 18:52:27 +01:00
test_hashable.py Refs #29838, Refs #28507 -- Made make_hashable() ignore key order. 2020-10-05 20:42:46 +02:00
test_html.py Fixed #33302 -- Made element_id optional argument for json_script template filter. 2021-11-22 11:52:19 +01:00
test_http.py Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate. 2022-01-07 12:25:06 +01:00
test_inspect.py Refs #31732 -- Fixed django.utils.inspect caching for bound methods. 2021-03-22 13:17:54 +01:00
test_ipv6.py
test_jslex.py Fixed E128, E741 flake8 warnings. 2020-05-12 08:52:23 +02:00
test_lazyobject.py
test_lorem_ipsum.py
test_module_loading.py Refs #32074 -- Fixed find_module()/find_loader() warnings on Python 3.10+. 2021-09-16 20:20:54 +02:00
test_no_submodule.py
test_numberformat.py Fixed #32873 -- Deprecated settings.USE_L10N. 2021-09-14 12:05:43 +02:00
test_os_utils.py Refs #30461 -- Added django.utils._os.to_path(). 2019-08-13 17:17:39 +02:00
test_regex_helper.py Added tests for AssertionErrors in get_complete_version() and _lazy_re_compile(). 2021-03-15 13:03:30 +01:00
test_safestring.py Fixed #33465 -- Added empty __slots__ to SafeString and SafeData. 2022-01-29 13:50:34 +01:00
test_simplelazyobject.py
test_termcolors.py Completed test coverage for colorize(). 2020-07-29 07:57:06 +02:00
test_text.py Fixed unescape_string_literal() crash on empty strings. 2021-12-14 20:19:44 +01:00
test_timesince.py Fixed #31937 -- Eased translation of time strings in some languages. 2021-04-10 20:23:12 +02:00
test_timezone.py Fixed #32365 -- Made zoneinfo the default timezone implementation. 2021-09-16 12:11:05 +02:00
test_topological_sort.py Refs #30179 -- Moved topological sort functions to django.utils. 2019-02-25 15:44:49 -05:00
test_tree.py Fixed #32717 -- Fixed filtering of querysets combined with the | operator. 2021-05-13 07:26:52 +02:00
utils.py Fixed #30366 -- Skipped StatReloaderTests on HFS+ filesystems. 2019-04-24 15:28:20 +02:00