django/tests/utils_tests
Jon Dufresne b903bb438f Refs #30485 -- Removed non-representative test that emitted a warning.
Previously, when running the Django test suite with warnings enabled,
the following was emitted:

    /usr/lib64/python3.7/urllib/parse.py:915: BytesWarning: str() on a bytearray instance
      v = quote_via(str(v), safe, encoding, errors)

This occurred due to the bytearray() being passed to
urllib.parse.urlencode() which eventually calls str() on it. The test
does not represent desired real world behavior. Rather than test for and
assert strange unspecified behavior that emits a warning, remove it.

This was also discussed in PR #11374.
2019-06-19 13:03:52 +02:00
..
archives
eggs
files
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
test_autoreload.py Fixed #30523 -- Fixed updating file modification times on seen files in auto-reloader when using StatReloader. 2019-05-29 09:41:24 +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 Removed unneeded list() calls in sorted() argument. 2019-02-09 19:08:22 -05:00
test_dateformat.py
test_dateparse.py Fixed #30141 -- Fixed parse_duration() for some negative durations. 2019-02-23 18:54:09 -05: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
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 Refs #27753 -- Favored force/smart_str() over force/smart_text(). 2019-02-06 14:12:06 -05:00
test_encoding_deprecations.py Refs #27753 -- Deprecated django.utils.encoding.force_text() and smart_text(). 2019-02-06 14:12:06 -05: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 #30498 -- Fixed proxy class caching in lazy(). 2019-05-22 20:41:52 +02: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 #30399 -- Changed django.utils.html.escape()/urlize() to use html.escape()/unescape(). 2019-04-25 15:09:07 +02:00
test_http.py Refs #30485 -- Removed non-representative test that emitted a warning. 2019-06-19 13:03:52 +02: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
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 Fixed #30363 -- Do not use exponential notation for small decimal numbers. 2019-04-13 14:30:33 +02: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 Refs #27753 -- Favored SafeString over SafeText. 2019-02-06 14:12:06 -05:00
test_simplelazyobject.py Refs #23919 -- Removed misc references to Python 2. 2017-01-21 20:02:00 -05:00
test_termcolors.py
test_text.py Refs #27753 -- Deprecated django.utils.text.unescape_entities(). 2019-05-08 08:00:59 +02:00
test_timesince.py
test_timezone.py Completed FixedOffset test coverage. 2018-10-09 20:32:08 -04: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 #29838 -- Fixed crash when combining Q objects with __in lookups and lists. 2018-10-17 11:34:49 -04:00
utils.py Fixed #30366 -- Skipped StatReloaderTests on HFS+ filesystems. 2019-04-24 15:28:20 +02:00