django1/tests/utils_tests
Tom Forbes 7089502b98 [2.2.x] Fixed #30523 -- Fixed updating file modification times on seen files in auto-reloader when using StatReloader.
Previously we updated the file mtimes if the file has not been seen
before - i.e on the first iteration of the loop.

If the mtime has been changed we triggered the notify_file_changed()
method which in all cases except the translations will result in the
process being terminated. To be strictly correct we need to update the
mtime for either branch of the conditional.

Regression in 6754bffa2b.

Backport of 480492fe70 from master
2019-05-29 09:43:10 +02:00
..
archives Fixed #27628 -- Fixed unarchiving a file without permission data. 2016-12-28 19:14:58 -05:00
eggs
files Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
test_module Fixed #28241 -- Allowed module_has_submodule()'s module_name arg to be a dotted path. 2017-06-08 14:34:20 -04:00
__init__.py
models.py Refs #20094 -- Removed obsolete tests/utils_tests/test_itercompat.py 2017-04-26 10:54:06 -04:00
test_archive.py Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. 2017-01-20 08:01:02 -05:00
test_autoreload.py [2.2.x] Fixed #30523 -- Fixed updating file modification times on seen files in auto-reloader when using StatReloader. 2019-05-29 09:43:10 +02:00
test_baseconv.py Refs #28909 -- Simplifed code using unpacking generalizations. 2018-09-28 09:57:12 -04:00
test_crypto.py Used bytes.hex() and bytes.fromhex() to simplify. 2017-11-23 08:52:23 -05:00
test_datastructures.py Fixed #20147 -- Added HttpRequest.headers. 2019-01-16 13:38:47 -05:00
test_dateformat.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_dateparse.py Fixed #28076 -- Added support for PostgreSQL's interval format to parse_duration(). 2017-07-03 19:53:19 -04:00
test_datetime_safe.py Refs #29600 -- Updated django.utils.datetime_safe now that Python 2 is unsupported. 2018-08-02 10:20:24 -04:00
test_decorators.py Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-01-19 08:39:46 +01:00
test_duration.py Fixed #28926 -- Fixed loss of precision of big DurationField values on SQLite and MySQL. 2017-12-28 17:35:41 -05:00
test_encoding.py Fixed some assertTrue() that were intended to be assertEqual(). 2018-07-09 11:13:40 -04: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 #29478 -- Added support for mangled names to cached_property. 2018-11-19 13:40:49 -05:00
test_hashable.py Refs #29838 -- Fixed make_hashable() for values that have lists or dicts nested in tuples. 2018-10-17 11:17:50 -04:00
test_html.py Fixed #29920 -- Added a test for smart_urlquote()'s UnicodeError branch. 2018-11-09 12:39:08 -05:00
test_http.py [2.2.x] Fixed #30264 -- Fixed crash of test_parsing_year_less_than_70() on 32-bit systems. 2019-03-20 13:46:31 +01:00
test_inspect.py Refs #29244 -- Fixed django.utils.inspect.method_has_no_args() for bound methods. 2018-08-07 17:37:35 -04:00
test_ipv6.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_jslex.py Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00
test_lazyobject.py Fixed #29772 -- Made LazyObject proxy __lt__() and __gt__(). 2018-09-19 13:51:01 -04:00
test_lorem_ipsum.py Fixed #28306 -- Completed test coverage for django.utils.lorem_ipsum. 2017-09-02 15:50:43 -04:00
test_module_loading.py Switched TestCase to SimpleTestCase where possible in Django's tests. 2018-11-27 08:58:44 -05:00
test_no_submodule.py
test_numberformat.py [2.2.x] Fixed CVE-2019-6975 -- Fixed memory exhaustion in utils.numberformat.format(). 2019-02-11 11:10:38 +01:00
test_os_utils.py
test_regex_helper.py Refs #27648 -- Removed support for (iLmsu) regex groups in url() patterns. 2017-09-22 12:51:18 -04:00
test_safestring.py Fixed #29412 -- Stopped marking slugify() result as HTML safe. 2018-07-20 10:44:30 -04:00
test_simplelazyobject.py Refs #23919 -- Removed misc references to Python 2. 2017-01-21 20:02:00 -05:00
test_termcolors.py Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
test_text.py Fixed #29654 -- Made text truncation an ellipsis character instead of three dots. 2018-08-21 17:46:45 +02:00
test_timesince.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_timezone.py Completed FixedOffset test coverage. 2018-10-09 20:32:08 -04:00
test_topological_sort.py [2.2.x] Refs #30179 -- Moved topological sort functions to django.utils. 2019-02-27 17:16:48 -05:00
test_tree.py Fixed #29838 -- Fixed crash when combining Q objects with __in lookups and lists. 2018-10-17 11:34:49 -04:00