summaryrefslogtreecommitdiff
path: root/tests/regressiontests/utils
AgeCommit message (Collapse)Author
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2013-02-23Fixed #19872Tomek Paczkowski
Made cached_property to behave as property when accessed via class.
2013-02-13Fixed #19693 -- Made truncatewords_html handle self-closing tagsClaude Paroz
Thanks sneawo for the report and Jonathan Loy for the patch.
2013-02-06Improved regex in strip_tagsClaude Paroz
Thanks Pablo Recio for the report. Refs #19237.
2013-02-04Fixed #17061 -- Factored out importing object from a dotted pathClaude Paroz
Thanks Carl Meyer for the report.
2013-02-01Fixed #19663 -- Allowed None in colorize() text parameterClaude Paroz
Thanks Jonathan Liuti for the report and the initial patch, and Simon Charette for the review.
2013-01-31Fixed #19708 -- Exception in timezone.override(None).Aymeric Augustin
Thanks rafales.
2012-12-29Advanced pending deprecation warnings.Aymeric Augustin
Also added stacklevel argument, fixed #18127.
2012-12-29Removed truncate_words and truncate_html_words.Aymeric Augustin
2012-12-08Fixed #19357 -- Allow non-ASCII chars in filesystem pathsClaude Paroz
Thanks kujiu for the report and Aymeric Augustin for the review.
2012-11-24Fixed #19237 -- Improved strip_tags utilityChris Khoo
The previous pattern didn't properly addressed cases where '>' was present inside quoted tag content.
2012-10-26Fixed feedgenerator tests under hash randomizationAymeric Augustin
2012-10-26Fixed test failure under Python 2.x introduced in 3e10d22df5Luke Plant
2012-10-26Fixed test failures on Python 3.3 due to dict ordering assumptions.Luke Plant
Refs #19038
2012-10-15Added tests for reversed iteration over SortedDict.Mitar
2012-09-26Fixed parse_http_date docstring and moved related testsClaude Paroz
Refs #18675.
2012-09-24Replaced a deprecated assertEqualsClaude Paroz
2012-09-22Fixed #18951 -- Formatting of microseconds.Aymeric Augustin
Thanks olofom at gmail com for the report.
2012-09-18Fixed #18800 -- Support numbers bigger than max float in `numberformat`.Florian Apolloner
Thanks to jbvsmo for the patch and Brad Pitcher for the tests.
2012-09-09Fixed a couple of test failures on Windows.Karen Tracey
2012-09-07Fixed #12397 -- allow safe_join to work with the root file system path, ↵Alex Gaynor
which means you can have your root template or file upload path at this location. You almost certainly don't want to do this, except in *very* limited sandboxed situations.
2012-09-05Fixed #18687: Removed test_performance_scalabilityAymeric Augustin
Even after repeated adjustment of the constants, this test still fails randomly. It has educated us to ignore messages from Jenkins, to a point where we missed some actual failures. In addition, it accounts for a non-negligible percentage of the run time of the test suite just by itself. Since no one has proposed a convincing patch in months, I'm going to remove the patch. We can't keep a randomly failing test forever.
2012-09-04Fixed #18902 -- Made force_bytes properly handle exception inputClaude Paroz
Thanks Aymeric Augustin for the report and the initial patch.
2012-08-21Reverted type check added in 62954ba04c.Aymeric Augustin
Refs #17040.
2012-08-20[py3] Fixed #17040 -- ported django.utils.crypto.constant_time_compare.Aymeric Augustin
This is a private API; adding a type check is acceptable.
2012-08-19Reordered import statements for clarity.Aymeric Augustin
2012-08-19Fixed #18728 -- Made colon optional in tzinfoAymeric Augustin
Made two-digit hours and minutes mandatory in tzinfo (the code used to crash if a one-digit representation was provided). Added standalone tests for django.utils.dateparse.
2012-08-18[py3] Made 212b9826bd Python 3-friendlyAymeric Augustin
2012-08-18Fixed #14516 -- Extract methods from removetags and slugify template filtersMarc Tamlyn
Patch by @jphalip updated to apply, documentation and release notes added. I've documented strip_tags as well as remove_tags as the difference between the two wouldn't be immediately obvious.
2012-08-15Ensured that the archive module consistantly explicitly closed all files.Alex Gaynor
2012-08-15Close files in the module_loading tests always.Alex Gaynor
2012-08-07[py3] Ported django.utils.functional.Aymeric Augustin
2012-08-07[py3] Ported django.utils.decorators.Aymeric Augustin
2012-08-07[py3] Ported django.utils.crypto.Aymeric Augustin
2012-08-07[py3] Ported django.utils.baseconv.Aymeric Augustin
2012-08-03[py3] Removed uses of sys.maxint under Python 3.Aymeric Augustin
Also fixed #18706: improved exceptions raised by int_to_base36.
2012-07-25[py3] Updated dict-like data structures for Python 3.Aymeric Augustin
The keys/items/values methods return iterators in Python 3, and the iterkeys/items/values methods don't exist in Python 3. The behavior under Python 2 is unchanged.
2012-07-24Added tests for deprecation warnings and fixed the argument order for the ↵Alex Gaynor
warnings.
2012-07-22[py3] Added Python 3 compatibility for xrange.Aymeric Augustin
2012-07-22[py3] Replaced unicode/str by six.text_type/bytes.Aymeric Augustin
2012-07-20Removed u prefixes on unicode strings.Aymeric Augustin
They break Python 3.
2012-07-14Remove DotExpandedDict, which was undocumented and unused.Alex Gaynor
2012-07-03Added 'format_html' utility for formatting HTML fragments safelyLuke Plant
2012-06-14Fixed #12140 -- Fixed http.urlencode result for empty listsClaude Paroz
Thanks aneil for the report and the initial patch.
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
2012-05-03Inserted more simplefilter calls to be sure warnings are emitted.Claude Paroz
Thanks to Florian Apolloner for suggesting the patch.
2012-05-03Made warning assertions work with or without -Wall python switchClaude Paroz
2012-05-03Used catch_warnings instead of save/restore methods. Refs #17049.Claude Paroz
2012-05-03Replaced deprecated TestCase methods. Refs #17049.Claude Paroz
2012-05-03Fixed #18042 -- Advanced deprecation warnings.Aymeric Augustin
Thanks Ramiro for the patch.