django/tests/utils_tests
Mariusz Felisiak 305757aec1
Applied Black's 2024 stable style.
https://github.com/psf/black/releases/tag/24.1.0
2024-01-26 12:45:07 +01:00
..
archives
eggs
files Rewrote strip_tags test file to lorem ipsum. 2022-03-08 14:50:06 +01:00
test_module Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01: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 Used addCleanup() in tests where appropriate. 2023-12-31 10:01:31 +01:00
test_autoreload.py Used addCleanup() in tests where appropriate. 2023-12-31 10:01:31 +01:00
test_choices.py Refs #34899 -- Extracted Field.flatchoices to flatten_choices helper function. 2023-10-23 13:44:23 -03:00
test_connection.py Prevented initialization of unused database connections. 2022-03-17 07:40:57 +01:00
test_crypto.py Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_datastructures.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
test_dateformat.py Used enterClassContext() where appropriate. 2024-01-04 05:55:29 +01:00
test_dateparse.py Fixed #35097 -- Tested parse_datetime() with bare date. 2024-01-09 14:08:03 -03:00
test_deconstruct.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_decorators.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_duration.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_encoding.py Refs #34986 -- Fixed some test assertions for PyPy. 2023-11-28 06:19:38 +01:00
test_feedgenerator.py Refs #32365 -- Removed internal uses of utils.timezone.utc alias. 2022-03-24 06:29:50 +01:00
test_functional.py Allowed custom formatting of lazy() objects. 2023-06-12 06:09:20 +02:00
test_hashable.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_html.py Fixed #34609 -- Deprecated calling format_html() without arguments. 2023-06-06 14:14:57 +02:00
test_http.py Refs #34986 -- Fixed mocking in utils_tests.test_http.HttpDateProcessingTests.test_parsing_rfc850. 2023-11-28 06:19:38 +01:00
test_inspect.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_ipv6.py Updated documentation and comments for RFC updates. 2022-11-10 13:52:17 +01:00
test_itercompat.py Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable(). 2023-11-24 12:06:29 +01:00
test_jslex.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
test_lazyobject.py Fixed utils_tests.test_lazyobject.SimpleLazyObjectPickleTestCase. 2023-08-20 16:09:07 +02:00
test_lorem_ipsum.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_module_loading.py Fixed #34233 -- Dropped support for Python 3.8 and 3.9. 2023-01-18 09:46:01 +01:00
test_no_submodule.py
test_numberformat.py Refs #34000 -- Optimized handling None values in numberformat.format(). 2022-09-12 13:02:50 +02:00
test_os_utils.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_regex_helper.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_safestring.py Fixed #20296 -- Prevented mark_safe() from evaluating lazy objects. 2022-02-21 10:11:26 +01:00
test_simplelazyobject.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_termcolors.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_text.py Fixed CVE-2023-43665 -- Mitigated potential DoS in django.utils.text.Truncator when truncating HTML text. 2023-10-04 09:22:26 -03:00
test_timesince.py Refs #34483 -- Fixed timesince()/timeuntil() with timezone-aware dates on different days and interval less than 1 day. 2023-04-14 17:41:03 +02:00
test_timezone.py Fixed #34233 -- Dropped support for Python 3.8 and 3.9. 2023-01-18 09:46:01 +01:00
test_tree.py Refs #32948 -- Renamed Node._new_instance() to Node.create(). 2022-07-27 10:06:24 +02:00
utils.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00