django/tests/regressiontests
Russell Keith-Magee 41ccfa15d7 Fixed #13469 -- Cleaned up the test case from r13085, and added some cache cleanup that matters for Python 2.3. Thanks to Karen and Alex for their help.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04 14:48:43 +00:00
..
admin_changelist Fixed #11791: Put hidden input elements in the change list inside td elements so they're valid HTML. Thanks panni and mlavin. 2010-03-01 18:43:27 +00:00
admin_inlines Fixed #12749 -- Corrected a problem with validation of inline primary keys. Thanks to Chris.Wesseling@cwi.nl for the report, and nessita for the test case. 2010-04-27 15:05:38 +00:00
admin_ordering Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
admin_registration Fixed #10505: added support for bulk admin actions, including a globally-available "delete selected" action. See the documentation for details. 2009-03-23 20:22:56 +00:00
admin_scripts 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
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 Fixed #12689: Fixed admin validation to report an error on invalid exclude specification. Thanks for report to bparker and for patch with tests to ramiro. 2010-03-09 00:38:53 +00:00
admin_views Fixed #13166 - Added JavaScript warnings to admin changelist to help against ambiguity between action and list_editable form submission. Thanks to blinkylights and aaugustin for the report and initial patch. 2010-05-02 23:02:16 +00:00
admin_widgets Fixed #12024: Changed admin code to avoid raising an exception when a field listed 2010-03-08 18:32:24 +00:00
aggregation_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
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 Fixed a bug preventing cursor variables from being passed as bind parameters in the oracle backend. 2010-04-28 17:08:06 +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 Fixed #11012: don't needless convert cache values to unicode. 2010-03-01 20:11:24 +00:00
comment_tests Changed the comments post view code to avoid raising an exception if handed invalid data for the object pk. Thanks to Leo for the test. 2010-03-16 22:37:45 +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 #12053 - form examples don't validate according to w3c 2010-01-04 21:55:52 +00:00
custom_columns_regress Fixed #9736 -- Added quoting to the SQL constraint names generated during table creation. This is to accommodate primary keys with spaces. 2008-12-02 13:23:29 +00:00
custom_managers_regress Fixed #2698 -- Fixed deleting in the presence of custom managers. 2009-03-20 03:57:12 +00:00
datastructures Fixed #12820. Implemented other dict methods for MergeDict. Thanks, Gisle Aas. 2010-02-22 23:38:18 +00:00
datatypes Fixed #12059 - Let TimeField.to_python correctly return a datetime.time object when having a datetime object. 2010-01-09 20:02:41 +00:00
dateformat Fixed #7262 - Added ISO 8601 and microsecond format string to utils.dateformat. Thanks zegor. 2010-01-01 21:39:26 +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 #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
defaultfilters 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
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 Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
extra_regress Fixed #13353: Corrected a couple of tests that were dependent on dictionary ordering. Thanks Alex. 2010-04-15 19:11:02 +00:00
file_storage Fixed a regression on Python < 2.6 introduced in [12552]. 2010-02-23 23:23:38 +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 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
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 Fixed (what I hope is) the last Python 2.4 incompatibility, this one in the httpwrappers tests. 2010-02-15 02:17:07 +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 #13370 -- Corrected the handling of pickling for lazy() proxy objects. Thanks to Alex Gaynor for the report and patch. 2010-04-19 12:40:46 +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 Fixed code duplication caused in [11857]. 2010-01-01 21:35:47 +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 #10109 -- Removed the use of raw SQL in many-to-many fields by introducing an autogenerated through model. 2009-11-03 14:02:49 +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 #11183 - BaseForm init leaves pointers pointing back to base_fields 2010-03-08 23:55:04 +00:00
model_formsets_regress Fixed #12692 - Properly handle the extra clause of admin inline formsets. Also fixes #12703, second error. 2010-02-01 14:14:56 +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 Fixed #13432 -- Corrected the logic for router use on OneToOne fields; also added a bunch of tests for OneToOneField queries. Thanks to piquadrat for the report. 2010-04-28 04:20:35 +00:00
null_fk Fixed #12240 - select_related doesn't work correctly when mixing nullable and non-nullable keys 2010-03-08 12:47:16 +00:00
null_fk_ordering Fixed #10589 -- Removed duplicated model definition in null_fk_ordering regression test. Thanks to Julien Phalip for the report. 2009-03-24 11:35:48 +00:00
null_queries Improved table join handling for comparisons against NULL. 2009-03-06 02:02:09 +00:00
one_to_one_regress Fixed #9023 -- Corrected a problem where cached attribute values would cause a delete to cascade to a related object even when the relationship had been set to None. Thanks to TheShark for the report and test case, and to juriejan and Jacob for their work on the patch. 2009-06-15 14:30:51 +00:00
pagination_regress A few corrections to my docstrings in [8129]. 2008-07-28 20:35:39 +00:00
queries 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
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 Fixed #7494 -- Fixed build_absolute_url() for some types of (uncommon) URLs. 2008-08-23 17:28:12 +00:00
reverse_single_related Fixed #7904: added support for a "use_for_related_fields" property on managers. If True, the manager will be used for related object lookups instead of the "bare" QuerySet introduced bu [8107]. Patch from Justin Bronn. 2008-08-05 16:13:28 +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 Fixed #12851 -- Another attempt at fixing select_related() with inherited models, this time with only(). Thanks to phxx for the test case. 2010-04-30 16:32:48 +00:00
serializers_regress Fixed #12546. Objects with a __len__ that returns 0 can now be serialized. Thanks, casobn for the report and Alex Gaynor for the patch and tests. 2010-02-24 15:54:03 +00:00
servers SECURITY ALERT: Corrected a problem with the Admin media handler that could lead to the exposure of system files. Thanks to Gary Wilson for the patch. 2009-07-29 02:40:14 +00:00
settings_tests Fixed the tests I broke with [11824]. 2009-12-12 18:45:43 +00:00
signals_regress Fixed #10109 -- Removed the use of raw SQL in many-to-many fields by introducing an autogenerated through model. 2009-11-03 14:02:49 +00:00
special_headers Added some missing __init__.py files to two tests 2010-01-10 17:49:41 +00:00
string_lookup Changed "exact" matches in MySQL to use the database's native collation. 2008-08-12 07:52:33 +00:00
syndication Fixed #12998 -- Corrected handling of time zones in syndication framework. 2010-03-15 15:25:39 +00:00
templates Fixed #13373 -- Ensured that {% if %} statements will short circuit template logic and not evaluate clauses that don't require evaluation. Thanks to Jerry Stratton for the report. 2010-04-19 14:18:14 +00:00
test_client_regress Fixed #13152 -- Ensure the test client saves the session before writing the session key to the cookie, in case the session engine changes the session key. 2010-03-19 05:42:13 +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 Fixed #12119. Changed smart_split to stop splitting on whitespace in quotes. Thanks, emulbreh. 2010-02-24 20:52:14 +00:00
urlpatterns_reverse Fixed #12594 -- Ensured that a meaningful exception is raised when the urlconf_module is None. Thanks to buriy for the report and patch. 2010-03-26 15:08:24 +00:00
utils Fixed #13469 -- Cleaned up the test case from r13085, and added some cache cleanup that matters for Python 2.3. Thanks to Karen and Alex for their help. 2010-05-04 14:48:43 +00:00
views Fixed #12764: Avoid exceeding psycopg1 limits in the views tests. 2010-03-22 13:22:24 +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