django/tests/regressiontests
Russell Keith-Magee 0856c765f5 Migrated extra_regress doctests. Thanks to Stephan Jaekel.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-28 13:42:09 +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 Adjust AdminDocTests to run after r13728. Also match comments to tests and add test that was there in comment form only.Refs #3695. 2010-09-11 00:02:33 +00:00
admin_widgets Fixed #13149 -- The admin `ForeignKeyRawIdWidget` now properly handles non-integer values. Thanks, Chris Adams. 2010-09-11 18:34:40 +00:00
aggregation_regress Fixed #14246: Modified aggregation_regress tests so that they will pass on a variety (sqlite, Postgres, MySQL/MyISAM) of DBs. 2010-09-10 17:57:42 +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 #13827 -- Cleaned up a few unnecessary function calls. 2010-09-26 21:36:22 +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 Removed a test assertion that depended on primary key ordering. The test doesn't validate anything significant, and fails under Postgres. Thanks to Tobias McNulty and the magical Caktus buildbot for pointing out the problem. 2010-09-28 04:48:43 +00:00
custom_managers_regress Migrated the custom_managers_regress doctests. Thanks to Paul McMillan. 2010-09-26 09:55:41 +00:00
datatypes Migrated datatypes doctests. Thanks to Sebastian Hillig. 2010-09-27 15:13:43 +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 Fixed #12851 -- Corrected the interaction of defer() with select_related(). Thanks to ruosteinen for the report. 2010-03-20 15:37:26 +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 #14254 - More tests for storage backends 2010-09-13 23:15:06 +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 Fixed #13030 -- Corrected natural key deserialization to subclasses. Thanks to yishaibeeri for the report and test case. 2010-03-18 15:22:15 +00:00
forms Added a test for hidden SplitDateTime fields. Thanks, seveas. 2010-09-12 22:27:59 +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 #13259 -- Ensure that multiple calls to message() don't corrupt any extra message headers. Thanks to canburak for the report, and Andi Albrecht for the fix. 2010-04-01 15:16:26 +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 #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_forms_regress Fixed #11905: Raise an error on model form creation if a non-existent field was listed in fields. Thanks ben and copelco. 2010-09-11 01:39:16 +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 #14244: Allow lists of more than 1000 items to be used with the 'in' lookup in Oracle, by breaking them up into groups of 1000 items and ORing them together. Thanks to rlynch for the report and initial patch. 2010-09-16 19:53:41 +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 #12998 -- Corrected handling of time zones in syndication framework. 2010-03-15 15:25:39 +00:00
templates Fixed #13765 - 'safe' parameter for urlencode filter 2010-09-13 23:01:34 +00:00
test_client_regress Fixed #13140 -- Ensure that request headers are preserved through redirect chains in the test client. Thanks to David Novakovic for the report. 2010-08-21 03:01:46 +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 #12544 and #13600 -- Fixed static files serving view to catch invalid date from If-Modified-Since header. Thanks akaihola and SmileyChris for patches. 2010-09-26 20:44:56 +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