0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
django/tests/utils_tests
Matthew Somerville caa3562d5b Fixed #24242 -- Improved efficiency of utils.text.compress_sequence()
The function no longer flushes zfile after each write as doing so can
lead to the gzipped streamed content being larger than the original
content; each flush adds a 5/6 byte type 0 block. Removing this means
buf.read() may return nothing, so only yield if that has some data.
Testing shows without the flush() the buffer is being flushed every 17k
or so and compresses the same as if it had been done as a whole string.
2015-02-04 13:04:00 -05:00
..
archives Fixed #22681 -- Made TarArchive recognize leading directories properly. 2014-06-03 12:00:33 -04:00
eggs
files
locale/nl/LC_MESSAGES
test_module Fixed #23670 -- Prevented partial import state during module autodiscovery 2014-10-31 08:01:47 -04:00
__init__.py
models.py
test_archive.py Fixed #22681 -- Made TarArchive recognize leading directories properly. 2014-06-03 12:00:33 -04:00
test_autoreload.py Fixed #24149 -- Normalized tuple settings to lists. 2015-02-03 14:59:45 -05:00
test_baseconv.py Fixed #23812 -- Changed django.utils.six.moves.xrange imports to range 2014-12-13 12:45:58 -05:00
test_checksums.py Applied ignore_warnings to Django tests 2014-12-30 18:16:25 +01:00
test_crypto.py
test_datastructures.py Removed django.utils.datastructures.SortedDict per deprecation timeline. 2015-01-17 08:40:23 -05:00
test_dateformat.py
test_dateparse.py Fixed #2443 -- Added DurationField. 2014-12-20 18:28:29 +00:00
test_datetime_safe.py Fixed #23998 -- Added datetime.time support to migrations questioner. 2014-12-22 07:24:54 -05:00
test_decorators.py Accounted for multiple template engines in template responses. 2015-01-12 21:01:34 +01:00
test_duration.py Fixed #2443 -- Added DurationField. 2014-12-20 18:28:29 +00:00
test_encoding.py Cleaned up some forms tests. 2015-01-27 22:39:57 +07:00
test_feedgenerator.py
test_functional.py Fixed #23346 -- Fixed lazy() to lookup methods on the real object, not resultclasses. 2014-12-26 11:30:34 -05:00
test_html.py Applied ignore_warnings to Django tests 2014-12-30 18:16:25 +01:00
test_http.py Fixed is_safe_url() to handle leading whitespace. 2015-01-13 13:03:06 -05:00
test_ipv6.py
test_itercompat.py
test_jslex.py Fixed remaining test failure in jslex tests. 2014-10-15 17:36:19 +02:00
test_lazyobject.py Fixed #23620 -- Used more specific assertions in the Django test suite. 2014-11-03 11:56:37 -05:00
test_lorem_ipsum.py Fixed #22789 -- Deprecated django.contrib.webdesign. 2014-07-14 08:45:19 -04:00
test_module_loading.py Removed utils.module_loading.import_by_path() per deprecation timeline; refs #21674. 2015-01-18 12:51:15 -05:00
test_no_submodule.py
test_numberformat.py Removed redundant numbered parameters from str.format(). 2014-12-03 14:27:38 -05:00
test_os_utils.py Removed redundant numbered parameters from str.format(). 2014-12-03 14:27:38 -05:00
test_regex_helper.py
test_safestring.py Fixed #23831 -- Supported strings escaped by third-party libs in Django. 2014-12-27 18:02:34 +01:00
test_simplelazyobject.py
test_termcolors.py
test_text.py Fixed #24242 -- Improved efficiency of utils.text.compress_sequence() 2015-02-04 13:04:00 -05:00
test_timesince.py
test_timezone.py Fixed #23388 -- Made django.utils.timezone.override usable as a decorator 2014-08-31 09:03:53 +02:00
test_tree.py Fixed #22531 -- Added tree.Node.__repr__ and tests for the class. 2014-05-16 09:30:25 -04:00