summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2010-12-23Fix a security issue in the admin. Disclosure and new release forthcoming.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21[1.2.X] Fixed #10420 -- GeoDjango tests are run as part of Django tests when ↵Justin Bronn
using spatial database backends with `runtests.py`. Backport of r15013 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21[1.2.X] Fixed #14301 -- Further refine changes made in r14217 to support ↵Jannis Leidel
non-ASCII characters in email addresses. Thanks, Claude Peroz and Andi Albrecht. Backport from trunk (r15006). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21[1.2.X] Fixed #4976 -- Stopped humanize template tags to raise a TypeError ↵Jannis Leidel
if passed a value of ``None``. Thanks, Simon G. and Adam Vandenberg. Backport from trunk (r15000). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21[1.2.X] Fixed #13743 -- Fixed CommentsAdmin to not blow up if the ↵Jannis Leidel
delete_selected action is disabled. Thanks, Daniel Lindsley. Backport from trunk (r14996). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19[1.2.X] Fixed a Python 2.5 syntax error. Backport of [14983].Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed a couple of tests migrated to unit tests in r14279 so they ↵Ramiro Morales
actually and correctly exercise the functionality under test. Backport of [14981] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14871, #14872 -- ZAIDField didn't handle alll EMPTY_VALUES ↵Alex Gaynor
correctly and ZAPostCodeField didn't respect *args or **kwargs (such as required=False). Also converted South African localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14956]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Uruguayan localflavor doctests into unittests. We have ↵Alex Gaynor
alwyas been at war with doctests. Thanks to Idan Gazit. Backport of [14955]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted United States localflavor doctests into unittests. We ↵Alex Gaynor
have always been at war with doctests. Thanks to Idan Gazit. Backport of [14954]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted United Kingdom localflavor doctests into unittests. We ↵Alex Gaynor
have always been at war with doctests. Thanks to Idan Gazit. Backport of [14953]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Slovak localflavor doctests into unitttests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14952]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14864, #14864 -- ROCIFField didn't accept values starting ↵Alex Gaynor
with RO, as it was supposed to, and ROCNPField, ROIBANField, and ROPhoneNumberField didn't handle all EMPTY_VALUES correctly. Also converted Romanian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14951]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Portuguese localflavor doctests into unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14950]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14860 -- PLPESELField, PLNIPField, and PLREGONField didn't ↵Alex Gaynor
handle all EMPTY_VALUES correctly. Also converted teh Polish localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14949]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Dutch localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14948]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Kuwaiti localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14947]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Japanese localflavor doctests to unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14946]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14859 -- ITSocialSecurityNumberField and ITVatNumberField ↵Alex Gaynor
didn't handle all EMPTY_VALUES gracefully. Also converted the Italias localflavor doctests into unittests. We have always been at war with doctests. Thanks to Idan Gazit. Backport of [14945]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Icelandic localflavor doctests to unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14944]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Irish localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14942]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Indonesian localflavor doctests to unittests. We have ↵Alex Gaynor
always been a war with doctests. Thanks to Idan Gazit. Backport of [14941]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted generic localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14940]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted French localflavor doctests into unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14939]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Finnish localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14938]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Spanish localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14937]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Chilean localflavor doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. Thanks to Idan Gazit. Backport of [14936]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Swiss localflavor doctests to unittests. Thanks to Idan ↵Alex Gaynor
Gazit for the patch. Backport of [14935]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Canadian localflavor doctests to unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14934]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted the Brazillian localflavor doctests to unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit. Backport of [14933]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Converted Australian localfavor doctests into unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit for the patch. Backport of [14931], git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed #14919 - test isolation issue with ↵Luke Plant
model_inheritance.ModelInheritanceTests.test_multiple_table and views.DefaultsTests.test_csrf_token_in_404 test_csrf_token_in_404 was assuming DEBUG = False, and test_multiple_table was leaving DEBUG = True. Both issues have been fixed. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed the ModelMultipleChoiceFieldTests to pass even on DB backends ↵Karen Tracey
that do not reuse pk values after rollback. r14928 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18[1.2.X] Fixed test_runner tests on 1.2.X branch to not atempt to use new ↵Karen Tracey
unittest support that does not exist there. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #13726 -- Further refine changes made in r12384 and r13069 for ↵Jannis Leidel
using non-English source languages in JavaScript translation catalogues. Thanks, Ramiro. Backport from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #14312 -- Raising an ``IncorrectLookupParameters`` if the page ↵Jannis Leidel
number given to an admin change list exceeds the number of the last page. Thanks, mk. Backport from trunk (r14889). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #14158 -- Fixed SelectMultiple._has_changed to not assume same ↵Jannis Leidel
order of data anymore. Thanks, akaariai and dmoisset. Backport from trunk (r14887). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13[1.2.X] Fixed #14144 -- Made sure custom validators are called in ↵Jannis Leidel
ModelMultipleChoiceFields. Thanks, matiasb. Backport from trunk (r14886). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14906 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12[1.2.X] Fixed #14499 -- ATSocialSecurityNumberField now responds to all ↵Alex Gaynor
EMPTY_VALUES correctly. Also converted Austrian localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit for the patch. Backport of [14873]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12[1.2.X] Converted the Argentina localflavor doctests to unittests. We have ↵Alex Gaynor
always been at war with doctests. Thanks to Idan Gazit for the patch. Backport of [14872]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-08[1.2.X] Ensure that a Popen object is closed promptly during the tests. ↵Alex Gaynor
Backport [14853]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05[1.2.X] Fixed #14799 -- Provided a full solution for test database creation ↵Russell Keith-Magee
order problems. Backport of r14822, r14823 and r14824 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04[1.2.X] Fixed #14807 -- Ensure that boolean values aren't localized as T.rue ↵Russell Keith-Magee
and Fa.lse because of the thousand separator. Thanks to vanschelven for the report and Backport of r14804 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04[1.2.X] Fixed a broken test introduced in [14786].Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04[1.2.X] Removed all usages of deprecated TestCase methods (self.fail*). ↵Alex Gaynor
This removed most of the Warnings emitted (with -Wall) during the test suite. Backport of [14803]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-03[1.2.X] Fixed #14700 -- ensure that a raw query is only executed once per ↵Alex Gaynor
iteration. Backport of [14785]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-03[1.2.X] Added a regression test for r14781.Ian Kelly
Backport of r14783 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02[1.2.X] Fixed broken German localflavor test introduced in r14627. Thanks ↵Jannis Leidel
for Rubber Ducking, Alex and Carl. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02[1.2.X] Fixed #8342 -- Removed code from the admin that assumed that you ↵Jannis Leidel
can't login with an email address (nixed by r12634). Backport from trunk (r14769). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-01[1.2.X] Fixed result ordering assumptions in the select_related tests.Ian Kelly
Backport of r14762 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14763 bcc190cf-cafb-0310-a4f2-bffc1f526a37