django/tests/regressiontests
Malcolm Tredinnick 3ee3d6b5f3 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.
We now have automatic HEAD processing always (previously required ConditionalGetMiddleware), middleware benefits from the Location header rewrite, so they can use relative URLs as well, and responses with response codes 1xx, 204 or 304 will always have their content removed, in accordance with the HTTP spec (so it's much harder to indavertently deliver invalid responses).

Based on a patch and diagnosis from regexbot@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-11 03:55:44 +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 #4831 -- Added an "add" cache key method, for parity with memcached's 2007-10-20 15:16:34 +00:00
datastructures Fixed #5183 -- Added __deepcopy__, pop() and popitem() to SortedDict. Based on 2007-10-22 00:52:54 +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 Merged Unicode branch into trunk (r4952:5608). This should be fully 2007-07-04 12:11:04 +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 Added tests for `floatformat` template filter for number with non-zero decimal place digit and ending in zeros. 2007-11-04 02:32:02 +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 a Python 2.3 problem. 2007-11-04 02:08:15 +00:00
httpwrappers Fixed httpwrappers tests broken by [6385]. 2007-09-20 15:51:19 +00:00
humanize Fixed #3311 -- Added naturalday filter to contrib.humanize. Thanks, Jyrki Pulliainen. 2007-08-20 08:50:08 +00:00
i18n Committed missing file from [6608]. 2007-10-26 20:08:56 +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 #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
model_fields Fixed call to `ugettext`, which is imported as `_`. 2007-07-30 17:25:35 +00:00
model_regress Fixed #5218: Made Oracle create autoinc triggers using the correct name 2007-09-14 18:12:36 +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 #5087 -- Fixed support for TextField filtering with Oracle. Thanks, Ian Kelly. 2007-08-19 12:37:00 +00:00
templates Fixed an invalid URL specification. 2007-10-27 06:23:05 +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 #5475 -- Added the Luhn check algorithm to django.utils.checksums so that 2007-10-20 13:40:20 +00:00
views Fixed generic view test which was failing on Postgres and MySQL. 2007-09-22 15:14:41 +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