django/tests/regressiontests
Carl Meyer 501546df6f Fixed #12226 -- Deprecated test client Response.template attribute in favor 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-10 02:16:33 +00:00
..
admin_changelist Fixed #13599 -- No longer embed hidden `<td>` elements in `ChangeList` that cause improper rendering when `list_editable` is enabled; refactored `admin_changelist` tests. Thanks, skevy for bug report and patch. 2010-09-11 03:01:07 +00:00
admin_inlines Migrated admin_inlines doctest. Thanks to Sebastian Hillig. 2010-09-27 15:11:03 +00:00
admin_ordering Migrated admin_ordering doctests. Thanks to Sebastian Hillig. 2010-09-27 15:11:29 +00:00
admin_registration Migrated admin_registration doctests. Thanks to Sebastian Hillig. 2010-09-27 15:11:55 +00:00
admin_scripts Fixed #14148 -- Ensure the admin_script tests always use an absolute path; PyPy (and sometimes CPython) return relative paths for __file__. Thanks to Alex Gaynor for the report and patch. 2010-08-21 02:55:02 +00:00
admin_util Fixed #13301 -- Corrected problem with capitalization of changelist row headers in admin. Thanks to emyller for the report. 2010-04-11 08:35:04 +00:00
admin_validation Migrated admin_validation doctests. Thanks to Sebastian Hillig. 2010-09-27 15:12:22 +00:00
admin_views Fixed #12650 -- Don't generate invalid XHTML in the admin, databrowse apps when 2010-10-10 01:57:56 +00:00
admin_widgets Fixed #14363 -- Fixed render method of ManyToManyRawIdWidget to set attrs to an empty dict. Thanks, tyrion and dpn. 2010-10-01 02:31:05 +00:00
aggregation_regress Added sanity-checking of annotation alias names. 2010-10-09 20:07:48 +00:00
app_loading Fixed #13389 -- Ensured that the app_loading test clears out the app cache at the end of each test, so that it doesn't interact badly with flush and other introspected database commands. Thanks to Karen for the report, and Ramiro Morales for the debugging hints. 2010-04-21 12:05:15 +00:00
backends Migrated custom_columns_regress doctests. Thanks to Sebastian Hillig. 2010-09-27 15:13:17 +00:00
bash_completion Refs #11109 -- Touched some whitespace so Trac will display some files correctly. 2009-12-02 00:30:00 +00:00
bug639 Made a set of small test changes to avoid leaving temp files hanging around after running the test suite. First, fixed a couple of places where temp dirs were (or could be) created without later being deleted. Second, added a missing close() before unlink() since Windows raises an error on an attempt to remove an open file. Finally, in the file_uploads tests, avoided opening-by-name temporary files that we already have a descriptor for. Doing additional opens seems to run afoul of the Windows issue with deleting open files, so it generally works better to just seek back to 0 instead of calling open multiple times. 2009-04-05 20:59:20 +00:00
bug8245 Removed an import that is no longer needed after r13033. 2010-04-27 15:11:44 +00:00
builtin_server Fixed #9659: fixed `wsgi.file_wrapper` in the builtin server. Thanks, mitsuhiko. 2009-05-07 15:39:06 +00:00
cache Add warning when using cache keys that might not work with memcached. 2010-09-12 18:45:26 +00:00
comment_tests Fixed a typo in the comments tests, as well as a dependency on CPython's reference counting semantics. 2010-10-09 23:04:49 +00:00
conditional_processing Fixed #10681 -- Work around (by ignoring) invalid ETag headers. 2009-04-03 06:59:34 +00:00
context_processors Fixed #12066 - Moved auth context processor from core to the auth app. Thanks, Rob Hudson. 2010-02-21 23:40:47 +00:00
csrf_tests Fixed a test so that it actually tests what it's supposed to test. 2010-09-10 23:56:10 +00:00
custom_columns_regress Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. 2010-10-09 08:12:50 +00:00
custom_managers_regress Migrated the custom_managers_regress doctests. Thanks to Paul McMillan. 2010-09-26 09:55:41 +00:00
datatypes Fixed #10970 -- Initialize DateFields with datetime.date objects, not datetime.datetime. Thanks, summerisgone, Cyberj and Ramiro Morales. 2010-10-08 16:14:10 +00:00
db_typecasts Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
decorators Fixed #12019 - backwards compatibility issues with cache_page decorator. 2010-09-21 19:32:22 +00:00
defaultfilters Migrated defaultfilters doctests. Thanks to Stephan Jaekel. 2010-09-28 08:19:04 +00:00
defer_regress Converted defer_regress tests from doctests to unittests. We have always been at war with doctests. 2010-10-09 21:55:15 +00:00
delete_regress Fixed #13309 -- Ensure that delete() deletes everything it should delete(). Thanks to craig.kimerer@gmail.com for the report. 2010-04-09 13:24:13 +00:00
dispatch Fixed #11753 - Q objects with callables no longer explode on Python 2.4. Thanks, Jeremy Dunck. 2009-12-17 22:06:41 +00:00
expressions_regress Migrated expressions_regress doctests. Thanks to Stephan Jaekel. 2010-09-28 13:41:40 +00:00
extra_regress Migrated extra_regress doctests. Thanks to Stephan Jaekel. 2010-09-28 13:42:09 +00:00
file_storage Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. 2010-10-09 08:12:50 +00:00
file_uploads Fixed #11030: Reverted a change that assumed the file system encoding was utf8, and changed a test to demonstrate how that assumption corrupted uploaded non-ASCII file names on systems that don't use utf8 as their file system encoding (Windows for one, specifically). Thanks for the report to vrehak. 2010-03-02 21:58:49 +00:00
fixtures_regress Corrected a test failure under MySQL. 2010-10-02 13:13:59 +00:00
forms Fixed #11907 -- EmailField now runs strip() on its input. This means mistakenly including leading or trailing spaces will not cause a validation error, and clean() will remove those spaces. Thanks, krisneuharth, djansoft and SmileyChris 2010-10-07 15:50:36 +00:00
formwizard Fixed #9473: FormWizard now works with NullBooleanFields. As a bonus, we now have the beginnings of a test suite for FormWizard. Thanks, Keith Bussell. 2009-04-01 14:13:43 +00:00
generic_inline_admin Fixed #12561. InlineAdmin now respects can_delete=False. Thanks, nessita. 2010-02-23 17:14:50 +00:00
generic_relations_regress Fixed #11535: Corrected SQL generated for queries involving generic relations and ORed Q objects. Thanks to brianglass for report, tobias for fix and test, and Alex for review. 2010-02-10 19:21:52 +00:00
get_or_create_regress Fixed #3121 -- Made `get_or_create()` work for `RelatedManager` and `ManyRelatedManager`. 2008-08-16 20:59:06 +00:00
httpwrappers Improved unicode-type, ASCII-convertible header handling in 2010-09-11 01:41:53 +00:00
humanize Fixed #11783 -- ordinal template tag now catches TypeError. Thanks, realpolitik and punteney 2010-01-10 21:37:20 +00:00
i18n Fixed #14053 -- Also localize long integers. Thanks, David Danier. 2010-09-27 16:21:16 +00:00
initial_sql_regress Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used. 2007-08-05 05:14:46 +00:00
inline_formsets Fixed #12692 - Properly handle the extra clause of admin inline formsets. Also fixes #12703, second error. 2010-02-01 14:14:56 +00:00
introspection Fixed #13396 -- Modified the SQLite introspection code to avoid a problem with unconsumed cursors on PyPy. Thanks to Alex Gaynor for the report and fix. 2010-04-21 23:43:35 +00:00
locale/de/LC_MESSAGES Fixed #11384 - Make sure translations in the project directory really override translations in apps as specified in the docs. 2010-02-16 12:17:17 +00:00
localflavor Added __init__.py file that was left out of [13505]. 2010-08-06 16:24:29 +00:00
m2m_regress Fixed #11956 -- Modified the handling of m2m relationships between subclasses. Thanks to nidi for the report, and astoneman for the suggestion on how to fix the problem. 2010-04-02 15:44:48 +00:00
m2m_through_regress Fixed #13799, a test failure on Postgres. Thanks, Alex. 2010-06-23 20:03:41 +00:00
mail Fixed #7722 - added support for CC in EmailMessage. 2010-10-07 23:36:02 +00:00
makemessages Fixed #13239 -- Forced the deletion of the Popen object, avoiding a bug in Python's subprocess cleanup code. 2010-03-29 07:24:45 +00:00
managers_regress Fixed #7154 -- Inherit all model managers from abstract base classes. 2008-09-02 09:04:54 +00:00
many_to_one_regress Fixed #12190 -- Corrected a regression in the ability to instantiate ForeignKeys outside of models. Thanks to jittat for the report. 2009-11-10 15:21:12 +00:00
max_lengths Make sure that all uses of max_length in the test suite use values smaller than 255. If we use max_length > 255 the test suite can't be run on MySQL 4. 2009-05-07 18:06:22 +00:00
middleware Added file missing from r12704. 2010-03-07 20:11:00 +00:00
middleware_exceptions Fixed #13090 -- Corrected handling of errors in middleware when DEBUG=False. Thanks to EroSennin for the report, and Ivan Sagalaev for the patch. 2010-03-12 16:45:29 +00:00
model_fields Fixed #7048 -- Added ClearableFileInput widget to clear file fields. Thanks for report and patch, jarrow and Carl Meyer. 2010-10-01 02:02:58 +00:00
model_forms_regress Fixed #7048 -- Added ClearableFileInput widget to clear file fields. Thanks for report and patch, jarrow and Carl Meyer. 2010-10-01 02:02:58 +00:00
model_formsets_regress Fixed #13095 -- `formfield_callback` keyword argument is now more sane and works with widgets defined in `ModelForm.Meta.widgets`. Thanks, hvdklauw for bug report, vung for initial patch, and carljm for review. 2010-09-10 22:46:22 +00:00
model_inheritance_regress Fixed #12164 -- Removed the Python 2.3 compatibility imports and workarounds. Thanks to timo and claudep for the patch. 2010-05-04 14:00:30 +00:00
model_inheritance_select_related Removed a stray debugging print that slipped in. 2008-06-29 09:40:48 +00:00
model_regress Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
modeladmin Fixed #13023 - Removed ambiguity with regard to the max_num option of formsets and as a result of admin inlines. Thanks to Gabriel Hurley for the patch. 2010-03-27 23:03:56 +00:00
multiple_database Fix a couple of typos in test names and descriptions. 2010-09-13 05:08:21 +00:00
null_fk Migrated null_fk doctests. Thanks to Stephan Jaekel. 2010-09-28 08:17:36 +00:00
null_fk_ordering Migrated null_fk_ordering doctests. Thanks to Stephan Jaekel. 2010-09-28 08:17:12 +00:00
null_queries Migrated null_queries doctests. Thanks to Stephan Jaekel. 2010-09-28 08:16:47 +00:00
one_to_one_regress Migrated one_to_one_regress doctests. Thanks to Stephan Jaekel. 2010-09-28 08:16:23 +00:00
pagination_regress A few corrections to my docstrings in [8129]. 2008-07-28 20:35:39 +00:00
queries Fixed #14011 -- Doing a subquery with __in and an EmptyQuerySet no longer 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. 2010-10-09 16:51:34 +00:00
queryset_pickle Tweak the last two tests from r13013 to test what they are intended to test instead of repeating 3rd to last test. 2010-04-21 18:07:23 +00:00
requests Modified the requests unit tests so that they aren't dependent on dictionary ordering. 2010-09-28 11:54:58 +00:00
reverse_single_related Migrated reverse_single_related doctests. Thanks to Stephan Jaekel. 2010-09-28 07:06:15 +00:00
select_related_onetoone Fixed #12937 -- Corrected the operation of select_related() when following an reverse relation on an inherited model. Thanks to subsume for the report. 2010-03-20 15:02:59 +00:00
select_related_regress Migrated select_related_regress doctests. Thanks to Stephan Jaekel. 2010-09-28 07:05:51 +00:00
serializers_regress Fixed #13638 -- Refactored the serializers_regress tests to avoid the use of flush, and make better use of the transactional capabilities of django.test.TestCase. Thanks to Alex Gaynor for the patch. 2010-05-28 09:52:24 +00:00
servers Fixed #14271 -- Use absolute path for admin media tests. Thanks, Alex Gaynor. 2010-09-26 20:55:58 +00:00
settings_tests Fixed the tests I broke with [11824]. 2009-12-12 18:45:43 +00:00
signals_regress Migrated signals_regress doctests. Thanks to Stephan Jaekel. 2010-09-27 15:18:03 +00:00
special_headers Added some missing __init__.py files to two tests 2010-01-10 17:49:41 +00:00
string_lookup Migrated string_lookup doctests. Thanks to Stephan Jaekel. 2010-09-27 15:17:36 +00:00
syndication Fixed #13218 -- Ensure that syndicated content served over HTTPS uses https:// links by default. Thanks to schaefer for the report, and Ben Firshman for the patch. 2010-10-08 14:14:05 +00:00
templates Fixed #13568 -- Fixed the blocktrans tag to not raise a KeyError if the number of variables in the singular and the plural block differ. Thanks, deloide. 2010-10-01 02:02:01 +00:00
test_client_regress Fixed #12226 -- Deprecated test client Response.template attribute in favor of templates attribute, which is always a list. Thanks Russell for patch review. 2010-10-10 02:16:33 +00:00
test_runner Corrected the tests for DjangoTestRunner so they pass under Postgres. 2009-12-22 06:00:57 +00:00
test_utils Made the test case for doctest comparison of XML fragments a little more rigorous. Refs #7441. 2008-07-20 08:47:10 +00:00
text Migrated text doctests. Thanks to Stephan Jaekel. 2010-09-27 15:17:08 +00:00
urlpatterns_reverse Migrated urlpatterns_reverse doctests. Thanks to Stephan Jaekel. 2010-09-27 15:16:46 +00:00
utils Unified the regressiontests/dateformat tests with the regressiontests/utils/dateformat tests. 2010-09-28 08:19:42 +00:00
views Fixed #13897 -- Added tests for pagination feature of the generic object_list view. Thanks, d0ugal and SmileyChris. 2010-10-01 02:01:20 +00:00
__init__.py Added regressions tests to ensure that one-to-one and many-to-many fields 2006-06-20 05:29:19 +00:00