summaryrefslogtreecommitdiff
path: root/tests/regressiontests/utils
AgeCommit message (Collapse)Author
2010-05-04[1.1.X] Fixed #13469 -- Cleaned up the test case from r13085, and added some ↵Russell Keith-Magee
cache cleanup that matters for Python 2.3. Thanks to Karen and Alex for their help. Backport of r13095 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04[1.1.X] Fixed some Python 2.3 incompatibilities in new tests.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04[1.1.X] Fixed #13464 -- Reworked module_has_submodule to break the ↵Russell Keith-Magee
requirement for loader and finder to be the same class. Thanks to Alex Gaynor for the report and patch, and Brett Cannon for suggesting the approach. Backport of r13082 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-14[1.1.X] Revert r12763 until we figure out what's wrong with it on 1.1.X. ↵Karen Tracey
Refs #13111. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-12[1.1.X] Fixed #13093 -- Updated some decorators and the ↵Russell Keith-Magee
decorator_from_middleware function to allow callable classes to be decorated. Thanks to Brian Neal for the report. Backport of r12762 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-13[1.1.X] Fixed #12524 -- Clarified handling of pre-1000AD dates in ↵Russell Keith-Magee
datetime_safe (and thus, the serializers). Patch includes moving the datetime_safe tests into the utils regressiontests module. Thanks to gsf for the report and initial patch. Backport of r12423 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28[1.1.X] Fixed #8758 -- Corrected handling of tag creation in feeds when the ↵Russell Keith-Magee
URL contains a port number. Partial backport of r12338 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-05[1.1.X] Fixed #12506 - 'lazy' fails when there are multiple expected classes ↵Luke Plant
with the same method Thanks to Alex for report and patch Backport of r12104 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17[1.1.X] Fixed #11753 - Q objects with callables no longer explode on Python ↵Jacob Kaplan-Moss
2.4. Thanks, Jeremy Dunck. Backport of [11901]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-02[1.1.X] Fixed #12127 -- Corrected teardown of dateformat tests. Thanks to ↵Russell Keith-Magee
apollo13 for the report, and Karen Tracey for the debugging help. Backport of r11705 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-01[1.1.X] Changed setUp and tearDown for the tests converted from doctests in ↵Karen Tracey
r11695 to not assume TZ absolutely will be set in the environment. That environment variable does not necessarily exist on Windows, it seems. r11699 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-01[1.1.X] Fixed #12123 -- Updated the utils.dateformat test to be a unittest ↵Russell Keith-Magee
too, due to a dependency on the old dateformat test. Backport of r11695 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-20[1.1.X] Fixed #12060 - equality tests between User and ↵Luke Plant
SimpleLazyObject-wrapped User failed. Also added more tests for SimpleLazyObject Thanks to ericholscher for report. Backport of r11637 from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-08Fixed #10825: fixed the 'U' format code to dateformat (and the date/now ↵Jacob Kaplan-Moss
filter/tag). Thanks to gsong and mir. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-07Added some tests to show that #9672 has been fixed ever since [10215]. Refs ↵Jacob Kaplan-Moss
#9672. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26Fixed #7201 -- Fixed the timeuntil filter to work correctly with timezone-awareMalcolm Tredinnick
times. Patch from Jeremy Carbaugh. This is backwards incompatible in the sense that previously, if you tried to compare timezone-aware and timezone-naive values, you got an incorrect result. Now you get an empty string. So your previously incorrect code returns a different incorrect result. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23Removed some potentially misleading code (it isn't executed) after the changesMalcolm Tredinnick
in [8055]. Thanks, Karen. Refs #7745. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22Fixed a bunch of Python 2.3 test failures.Malcolm Tredinnick
All remaining buildbot failures on 2.3 are not due to the test suite, as far as I can work out. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-13Fixed #7718 -- Added a naive implementation of sorted() for Python 2.3 ↵Russell Keith-Magee
compatibility, and modified test cases to import the function when required. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-11Fixed #7303 -- Clarified a test case that was dependent on dict ordering. ↵Russell Keith-Magee
Thanks to leosoto for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17Fixed #6679 -- In `decorator_from_middleware`, don't unpack arguments when ↵Gary Wilson Jr
calling a middleware's `process_view` method, thanks Gulopine. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29Fixed #6050 -- Handled edge-case of duplicate keys being passed whenMalcolm Tredinnick
initialising SortedDict. Patch from Collin Grady and SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #5475 -- Added the Luhn check algorithm to django.utils.checksums so thatMalcolm Tredinnick
localflavors don't have to reimplement it each time. Thanks, __hawkeye__. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-17Fixed #2675 -- Changed the `timeuntil` and `timesince` template filters to ↵Gary Wilson Jr
display "0 minutes" when passed a past or future date respectively instead of "-1 years, 12 months". Thanks to nickefford for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15Fixed #4310 -- Fixed a regular expression bug in `strip_entities` function ↵Gary Wilson Jr
and added tests for several `django.utils.html` functions. Based on patch from Brian Harring. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5701 bcc190cf-cafb-0310-a4f2-bffc1f526a37