summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2010-10-14Fixed #14301 -- Handle email validation gracefully with email addresses ↵Jannis Leidel
containing non-ASCII characters. Thanks, Andi Albrecht. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-14Fixed #14456 -- converted inline_formsets tests from doctests to unittests. ↵Alex Gaynor
We have always been at war with doctests. Thanks to prestontimmons for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-14Fixed #14459 -- converted many_to_one_regress tests from doctests to ↵Alex Gaynor
unittests. We have always been at war with doctests. Patch from Gabriel Hurley. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-14Fixed #14460 -- converted managers_regress tests from doctests to unittests. ↵Alex Gaynor
We have always been at war with doctests. Patch from Gabriel Hurley. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-14Fixed #14458 -- converted m2m_regress tests from doctests to unittests. We ↵Alex Gaynor
have always been at war with doctests. Thanks to Gabriel Hurley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-13Fixed #12192 -- Don't execute any DB query when the QS slicing being performedRamiro Morales
will result in use of LIMIT 0. Thanks Suor for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-13Fixed #14119 -- fields_for_model no longer returns all fields when fields ↵Honza Král
parameter is the empty tuple. Thanks alexdutton! git-svn-id: http://code.djangoproject.com/svn/django/trunk@14199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-13Fixed #12304 -- regression tests to make sure the validation messages for ↵Honza Král
unique violations are sane, Thanks ramiro! git-svn-id: http://code.djangoproject.com/svn/django/trunk@14198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12Fixed #5416 -- Added TestCase.assertNumQueries, which tests that a given ↵Alex Gaynor
function executes the correct number of queries. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12Converted model_inheritance_select_related tests from doctests to unittests. ↵Alex Gaynor
We have always been at war with doctests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12Converted initial_sql_regress tests from doctests (sort of...) to unittests. ↵Alex Gaynor
We have always been at war with doctests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12Converted get_or_create_regress tests from doctests to unittests. We have ↵Alex Gaynor
always been at war with doctests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Fixed #14349 -- Added Belgium localflavor. Thanks for the report and patch, ↵Jannis Leidel
Laurent Luce. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Fixed #13494 -- Correctly concat an email subject prefix with a translation ↵Jannis Leidel
string. Thanks, hcarvalhoalves and Andi Albrecht. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Fixed #14440 - Converted mail doctests to unittests.Jacob Kaplan-Moss
Thanks to Rob Hudson for the patch and also to andialbrecht who filed a similar patch that I didn't use. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft ↵Russell Keith-Magee
patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Fixed #14436 -- Escalated 1.2 PendingDeprecationWarnings to ↵Russell Keith-Magee
DeprecationWarnings, and removed 1.1 deprecated code. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Consolidated i18n commands test with the rest of the i18n tests.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Fixed #6073 -- Made compilemessages 18n management command reject PO files ↵Ramiro Morales
with BOM. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Refs #11256 -- Extended the annotation field name conflict check to cover ↵Carl Meyer
m2ms and reverse related descriptors as well. This is needed to actually cover the case raised by #14373. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Fixed #12226 -- Deprecated test client Response.template attribute in favor ↵Carl Meyer
of templates attribute, which is always a list. Thanks Russell for patch review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Fixed #12650 -- Don't generate invalid XHTML in the admin, databrowse apps whenRamiro Morales
the i18n context processor is active. Thanks to Rob Hudson for the report and fix suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed a typo in the comments tests, as well as a dependency on CPython's ↵Alex Gaynor
reference counting semantics. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Converted defer_regress tests from doctests to unittests. We have always ↵Alex Gaynor
been at war with doctests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Added sanity-checking of annotation alias names.Carl Meyer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #14011 -- Doing a subquery with __in and an EmptyQuerySet no longer ↵Alex Gaynor
raises an Exception. This is actually just a test for this, it was fixed by [14084]. Thanks to skatei for the report and mk for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #14366 -- Model.objects.none().values() now correctly returns a ↵Alex Gaynor
QuerySet with no items, rather than raising an Exception. Thanks to Carl Meyer for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #11509 -- Modified usage of "Web" to match our style guide in various ↵Russell Keith-Magee
documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08Fixed #10970 -- Initialize DateFields with datetime.date objects, not ↵Jannis Leidel
datetime.datetime. Thanks, summerisgone, Cyberj and Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08Fixed #10497 -- Added a few time-related methods to the storage API. Thanks ↵Jannis Leidel
for the report and patch to Stephan Jaekel. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08Fixed #13218 -- Ensure that syndicated content served over HTTPS uses ↵Russell Keith-Magee
https:// links by default. Thanks to schaefer for the report, and Ben Firshman for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-07Fixed #14430 - Test failure on Windows with get_image_dimensions since [13715]Luke Plant
Thanks to gabrielhurley for report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-07Fixed #7722 - added support for CC in EmailMessage.Luke Plant
Thanks to roberto.digirolamo for the report and initial patch, and dougvanhorn and SmileyChris for further work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-07Fixed #11907 -- EmailField now runs strip() on its input. This means ↵Adrian Holovaty
mistakenly including leading or trailing spaces will not cause a validation error, and clean() will remove those spaces. Thanks, krisneuharth, djansoft and SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@13997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-02Corrected a test failure under MySQL.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-01Fixed #14363 -- Fixed render method of ManyToManyRawIdWidget to set attrs to ↵Jannis Leidel
an empty dict. Thanks, tyrion and dpn. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-01Fixed #7048 -- Added ClearableFileInput widget to clear file fields. Thanks ↵Jannis Leidel
for report and patch, jarrow and Carl Meyer. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-01Fixed #13568 -- Fixed the blocktrans tag to not raise a KeyError if the ↵Jannis Leidel
number of variables in the singular and the plural block differ. Thanks, deloide. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-01Fixed #13897 -- Added tests for pagination feature of the generic ↵Jannis Leidel
object_list view. Thanks, d0ugal and SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-29Modified a fixtures_regress test case to make it more robust to database ↵Russell Keith-Magee
ordering. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28Migrated fixtures_regress doctests. Thanks to David Brenneman for the patch.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28Migrated extra_regress doctests. Thanks to Stephan Jaekel.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28Migrated expressions_regress doctests. Thanks to Stephan Jaekel.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28Modified the requests unit tests so that they aren't dependent on dictionary ↵Russell Keith-Magee
ordering. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28Unified the regressiontests/dateformat tests with the ↵Russell Keith-Magee
regressiontests/utils/dateformat tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28Migrated defaultfilters doctests. Thanks to Stephan Jaekel.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28Migrated regressiontest/datastructures doctest, and moved it into the ↵Russell Keith-Magee
existing utils datastructures package. Thanks to Stephan Jaekel. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28A few test optimizations; using native unittest where no Django-specific ↵Russell Keith-Magee
TestCase features are required. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28Migrated null_fk doctests. Thanks to Stephan Jaekel.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28Migrated null_fk_ordering doctests. Thanks to Stephan Jaekel.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13933 bcc190cf-cafb-0310-a4f2-bffc1f526a37