django/tests/regressiontests
Gary Wilson Jr d6d1188ed0 Middleware regression test fixes:
* Added a models.py file so the tests run.
 * Reset `settings.DEBUG` to `False` at the end of the `test_append_slash_no_redirect_on_POST_in_DEBUG` test so it doesn't bleed over to other tests.
 * Removed unused import.
 * Minor docstring fixes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-03 02:14:29 +00:00
..
auth_backends Changed the auth_backend tests in a cosmteic fashion so that they pass under Python 2.3 as well. 2007-10-20 08:15:42 +00:00
backends Rewrote the backends test to be more portable. Was previously failing on MySQL. 2007-09-16 10:04:26 +00:00
bug639 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
cache Fixed #6099: the filebased cache backend now uses md5 hashes of keys instead of sanitized filenames. For good measure, keys are partitioned into subdirectories using the first few bits of the hash. Thanks, sherbang. 2007-12-04 18:03:56 +00:00
datastructures Added a few more tests for `MultiValueDict`. 2007-11-25 18:16:40 +00:00
datatypes 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
dateformat Fixed #6023 -- Fixed daylight savings determination for years beyond 2038 on 2007-11-29 19:39:46 +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
defaultfilters Fixed #4131: added an "escapejs" filter for use in JavaScript strings, and updated the documentation on addslashes to point to the new ticket. Featuring contributions from Ned Batchelder, Jeremy Dunck, and Andy Durdin. 2007-12-04 21:08:29 +00:00
dispatch Fixed #4040 -- Changed uses of has_key() to "in". Slight performance 2007-04-26 13:30:48 +00:00
fixtures_regress Made the fixtures_regress test case be aware of Oracle's empty string 2007-09-15 00:08:08 +00:00
forms Fixed #6291 -- Fixed error in CASocialInsuranceNumberField documentation and error message. Thanks, jeff+django@ivany.org and arien 2008-01-02 05:23:21 +00:00
httpwrappers Fixed a Python 2.3 problem from [6927]. 2007-12-17 08:50:19 +00:00
humanize Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359 2007-11-14 12:58:53 +00:00
i18n Fixed #6071 -- Fixed another infinite recursion problem in SafeString and 2007-12-02 20:17:10 +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
invalid_admin_options 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
many_to_one_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
max_lengths Fixed #231: all fields that should take max_length now do. Thanks, Don Spaulding. 2007-09-19 23:33:57 +00:00
maxlength Fixed #6122: Fixed tests broken by [6872]. Thanks, Matt. 2007-12-04 17:14:32 +00:00
middleware Middleware regression test fixes: 2008-01-03 02:14:29 +00:00
model_fields Fixed call to `ugettext`, which is imported as `_`. 2007-07-30 17:25:35 +00:00
model_regress Fixed ORA-01461 error when trying to store more than 4000 bytes in a TextField under Oracle 2007-12-11 02:22:40 +00:00
null_queries 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
one_to_one_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
serializers_regress Major refactoring of django.core.management -- it's now a package rather than a 1730-line single module. All django-admin/manage.py commands are now stored in separate modules. This is backwards-incompatible for people who used django.core.management functions directly 2007-08-16 06:06:55 +00:00
string_lookup Fixed a use of `maxlength`, refs #2101. 2007-12-02 01:45:59 +00:00
templates Fixed #6295 -- Made the {% for %} tag a bit more efficient by creating a single context dictionary rather than recreating it each time through the loop. Thanks, Ned Batchelder 2008-01-02 05:01:03 +00:00
test_client_regress Fixed #5898 -- Changed a few response processing paths to make things harder to get wrong and easier to get right. Previous behaviour wasn't buggy, but it was harder to use than necessary. 2007-11-11 03:55:44 +00:00
text Fixed #5816 -- Fixed a regression from [6333] that generates incorrect cookie "expires" dates when using a locale other than English. Introduced `http_date` and `cookie_date` utility functions. Thanks for the report Michael Lemaire. Thanks for the patch Karen Tracey and `SmileyChris`. 2007-10-31 03:59:40 +00:00
urlpatterns_reverse 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
utils Fixed #6050 -- Handled edge-case of duplicate keys being passed when 2007-11-29 20:09:54 +00:00
views Fixed #5596 -- Changed the static view for the development server so that Django doesn't crash if somebody tries to serve a 200MB file. Patch from eibaan. 2007-12-17 11:46:48 +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