1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/utils_tests
Nick Pope d06c5b3581 Fixed #32366 -- Updated datetime module usage to recommended approach.
- Replaced datetime.utcnow() with datetime.now().
- Replaced datetime.utcfromtimestamp() with datetime.fromtimestamp().
- Replaced datetime.utctimetuple() with datetime.timetuple().
- Replaced calendar.timegm() and datetime.utctimetuple() with datetime.timestamp().
2021-05-12 11:08:41 +02:00
..
archives
eggs
files Updated Git branch "master" to "main". 2021-03-09 08:48:32 +01:00
test_module Fixed #32314 -- Fixed detection when started non-django modules with "python -m" in autoreloader. 2021-01-05 21:03:29 +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
models.py
test_archive.py Skipped test_archive tests when bz2/lzma module is not installed. 2021-02-04 14:08:43 +01:00
test_autoreload.py Refs #32074 -- Removed usage of deprecated Thread.setDaemon(). 2021-05-04 12:07:18 +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 Refs #31359 -- Made get_random_string()'s length argument required. 2021-01-14 17:50:04 +01:00
test_datastructures.py Refs #24121 -- Added __repr__() to OrderedSet. 2021-03-10 09:29:05 +01:00
test_dateformat.py Fixed #32366 -- Updated datetime module usage to recommended approach. 2021-05-12 11:08:41 +02:00
test_dateparse.py Fixed #32269 -- Fixed parse_duration() for negative days in ISO 8601 format. 2020-12-21 10:28:07 +01:00
test_datetime_safe.py
test_decorators.py
test_duration.py
test_encoding.py
test_feedgenerator.py
test_functional.py Refs #32508 -- Raised ValueError instead of using "assert" in lazy(). 2021-03-15 13:10:30 +01:00
test_hashable.py
test_html.py
test_http.py Fixed #32366 -- Updated datetime module usage to recommended approach. 2021-05-12 11:08:41 +02: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
test_lazyobject.py
test_lorem_ipsum.py
test_module_loading.py
test_no_submodule.py
test_numberformat.py
test_os_utils.py
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
test_simplelazyobject.py
test_termcolors.py
test_text.py Fixed CVE-2021-31542 -- Tightened path & file name sanitation in file uploads. 2021-05-04 08:44:42 +02: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 Refs #32365 -- Allowed use of non-pytz timezone implementations. 2021-01-19 11:59:37 +01:00
test_topological_sort.py
test_tree.py
utils.py