django/tests/regressiontests
Luke Plant 42c31f6bf0 Rationalised CompatCookie/SimpleCookie into single SimpleCookie class with all fixes.
Since upstream Python has fixed the encoding bug (see
http://bugs.python.org/issue9824), we don't want a separate class for this
bug fix, or several layers for the different fixes.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-24 20:35:46 +00:00
..
admin_changelist Fixed #14982 -- Ensure that EMPTY_CHANGELIST_VALUE is honored for nullable foreign keys. Thanks to marcob for the report and fix, and to sontek for the test case. 2011-01-24 07:01:00 +00:00
admin_inlines Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
admin_ordering Fixed #13862 -- Added an ordering option to InlineModelAdmin and cleaned up documentation for it a bit. Thanks, Simon Meers, rasca and cogat. 2010-12-12 22:56:01 +00:00
admin_registration Migrated admin_registration doctests. Thanks to Sebastian Hillig. 2010-09-27 15:11:55 +00:00
admin_scripts Fixed #14928 -- Ensure that a fully qualified domain name can be used for runserver. Thanks to Karmel Allison for the report, Łukasz Rekucki for the patch, and claudep for the tests. 2011-01-15 06:31:38 +00:00
admin_util Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review. 2010-11-09 16:46:42 +00:00
admin_validation Migrated admin_validation doctests. Thanks to Sebastian Hillig. 2010-09-27 15:12:22 +00:00
admin_views Poured a little more perfectionism into the delete-confirmation templates. 2011-01-20 01:00:47 +00:00
admin_widgets Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
aggregation_regress Corrected an aggregation test failure under PostgreSQL, introduced by r15223. Thanks to Alex for the report. 2011-01-17 02:37:40 +00:00
app_loading Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
backends Added a regression test for r14781. Also fixed a bug where connection.vendor was effectively always 'unknown', causing all vendor-specific tests to be skipped. 2010-12-03 18:15:54 +00:00
bash_completion Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +00:00
bug639 Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +00:00
bug8245 Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
builtin_server Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
cache Fixed #15144 -- Corrected some problems with the Cache middleware when used with multiple cache settings. Thanks to Jim Dalton for the report, and to Jim and Joshua Ginsberg for the work on the patch. 2011-01-24 06:36:31 +00:00
comment_tests Fixed #14176 -- Added forwards compatibility to the legacy syndication feed view. This allows class-based feeds to be deployed using the old-style feed view, as long as the feed requires no arguments (i.e., get_object returns None). Thanks to psychcf for the report, cwhaines for the investigation, and Andrew Godwin for the assist. 2011-01-13 14:51:34 +00:00
conditional_processing Fixed #10681 -- Work around (by ignoring) invalid ETag headers. 2009-04-03 06:59:34 +00:00
context_processors Fixed #14389, #9666 -- Started the migration path to make the first argument to url and ssi template tags syntactically consistent with other tags. Thanks to Sean Brant for the draft patch. 2010-11-20 06:22:28 +00:00
csrf_tests Fixed #14508 - test suite silences warnings. 2010-11-11 15:06:20 +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 Made the oracle backend throw the same ValueError as the mysql backend when a timezone-aware datetime is passed in. This fixes a datatypes test failure. 2010-11-12 18:39:30 +00:00
dates Fixed #13935, added support for using QuerySet.dates across related fields. Thanks to valyagolev for his work on the patch. 2010-11-04 16:03:05 +00:00
db_typecasts Fixed #14453 -- Changed handling of microseconds part in typecast_timestamp() DB backend helper function to be more correct. Thanks philipn for the report and fix. 2010-11-21 15:08:53 +00:00
decorators Fixed a bug with method_decorator not preserving the attributes of the wrapped method, which is important for decorators like csrf_exempt 2010-10-21 14:56:49 +00:00
defaultfilters Fixed #14240 -- Enabled localization for the filesize filter. Thanks to David Danier for the report and patch. 2011-01-24 08:16:09 +00:00
defer_regress Fixed #5416 -- Added TestCase.assertNumQueries, which tests that a given function executes the correct number of queries. 2010-10-12 03:33:19 +00:00
delete_regress Fixed #14896 -- Ensured that _meta.get_all_related_objects(include_hidden=True) also works correctly with model inheritance. 2011-01-19 21:56:14 +00:00
dispatch Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +00:00
expressions_regress Fixed #10154: Allow combining F expressions with timedelta values. 2010-12-22 03:34:04 +00:00
extra_regress Migrated extra_regress doctests. Thanks to Stephan Jaekel. 2010-09-28 13:42:09 +00:00
file_storage Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
file_uploads Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
fixtures_regress Fixed a test case that was failing in Oracle due to conflation of null and empty strings. 2010-11-12 19:26:57 +00:00
forms Fixed #13631 -- Made sure that max_length and min_length are retained as attributes on form fields. Thanks to mila for the report. 2011-01-13 16:41:46 +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 Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +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
generic_views Fixed #15012 -- Added post-rendering callbacks to TemplateResponse so that decorators (in particular, the cache decorator) can defer processing until after rendering has occurred. Thanks to Joshua Ginsberg for the draft patch. 2011-01-24 14:24:35 +00:00
get_or_create_regress Fix wrong attribute name in [15156]. Thanks to Alex Gaynor for spotting this. 2011-01-10 13:44:35 +00:00
handlers Fixed #11193 -- WSGI handler not properly handling lock on error in load_middleware. Thanks to Phillip Sitbon. 2011-01-14 23:18:21 +00:00
httpwrappers Rationalised CompatCookie/SimpleCookie into single SimpleCookie class with all fixes. 2011-01-24 20:35:46 +00:00
humanize Fixed #4976 -- Stopped humanize template tags to raise a TypeError if passed a value of ``None``. Thanks, Simon G. and Adam Vandenberg. 2010-12-21 15:07:43 +00:00
i18n Fixed a few translation related tests: 2011-01-21 19:36:26 +00:00
initial_sql_regress Refs #14661 -- Clarified the handling of initial data injected via custom SQL. 2011-01-18 16:43:01 +00:00
inline_formsets Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
inspectdb Simplify the tests for [15296]. 2011-01-24 15:18:56 +00:00
introspection Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +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 the rest of the US localflavor tests that were forgotten in r15058. Refs r15029. 2010-12-31 14:38:19 +00:00
m2m_regress Fixed #14458 -- converted m2m_regress tests from doctests to unittests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch. 2010-10-14 01:10:57 +00:00
m2m_through_regress Fixed #13799, a test failure on Postgres. Thanks, Alex. 2010-06-23 20:03:41 +00:00
mail Fixed #15042 -- Ensured that email addresses without a domain can still be mail recipients. Patch also improves the IDN handling introduced by r15006, and refactors the test suite to ensure even feature coverage. Thanks to net147 for the report, and to Łukasz Rekucki for the awesome patch. 2011-01-15 05:55:24 +00:00
managers_regress Fixed #14460 -- converted managers_regress tests from doctests to unittests. We have always been at war with doctests. Patch from Gabriel Hurley. 2010-10-14 01:17:14 +00:00
many_to_one_regress Fixed #14459 -- converted many_to_one_regress tests from doctests to unittests. We have always been at war with doctests. Patch from Gabriel Hurley. 2010-10-14 01:24:34 +00:00
max_lengths Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +00:00
middleware Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
middleware_exceptions Fixed #15083 -- Corrected the order of TemplateResponse middleware handling, ensuring that custom URLConfs are valid, and that ResponseMiddleware is invoked if the TemplateResponseMiddleware causes errors. Thanks to Sayane for the report. 2011-01-16 15:38:03 +00:00
model_fields Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +00:00
model_forms_regress Fixed the ModelMultipleChoiceFieldTests to pass even on DB backends that do not reuse pk values after rollback. 2010-12-18 17:37:19 +00:00
model_formsets_regress Fixed failing tests caused by r14667 2010-11-21 17:48:52 +00:00
model_inheritance_regress Fixed #14423 -- corrected incorrect SQL being generated when a nullable, inherited field was used in an exclude. Thanks to PhiR_42 for the patch. 2010-11-17 16:46:50 +00:00
model_inheritance_select_related Converted model_inheritance_select_related tests from doctests to unittests. We have always been at war with doctests. 2010-10-12 02:09:13 +00:00
model_regress Fixed a failing test caused by [14614]. 2010-11-19 03:42:20 +00:00
modeladmin Fixed #3400 -- Support for lookup separator with list_filter admin option. Thanks to DrMeers and vitek_pliska for the patch! 2010-11-21 19:29:15 +00:00
multiple_database Enhanced slightly the tests added in r15185 to demonstrate that #14948 doesn't affect trunk. Refs #14948. Thanks Harm Geerts. 2011-01-15 00:15:39 +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 Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +00:00
queries Refs #14661 -- Corrected (well... hacked around) a test failure under MySQL/MyISAM with the queries regression test. 2011-01-18 16:42:24 +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 #15018 -- Corrected the handling of LimitedStream under one edge case involving size restricted buffers and newlines. Thanks to xjdrew for the report, and aaugustin for the patch. 2011-01-16 07:31:35 +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 #5416 -- Added TestCase.assertNumQueries, which tests that a given function executes the correct number of queries. 2010-10-12 03:33:19 +00:00
select_related_regress Migrated select_related_regress doctests. Thanks to Stephan Jaekel. 2010-09-28 07:05:51 +00:00
serializers_regress Reverting r14994 (at request of SmileyChris) because of some backwards compatibility issues that need to be resolved. 2010-12-21 06:05:40 +00:00
servers Fixed #12323 and #11582 -- Extended the ability to handle static files. Thanks to all for helping with the original app, the patch, documentation and general support. 2010-10-20 01:33:24 +00:00
settings_tests Fixed #6218 -- Made MEDIA_URL and STATIC_URL require a trailing slash to ensure there is a consistent way to combine paths in templates. Thanks to Michael Toomim, Chris Heisel and Chris Beaven. 2011-01-02 01:33:11 +00:00
signals_regress Migrated signals_regress doctests. Thanks to Stephan Jaekel. 2010-09-27 15:18:03 +00:00
sites_framework Fixed #13790 -- auto detection of m2m fields to Site. Thanks, gabrielhurley! 2010-10-18 04:56:27 +00:00
special_headers Fixed #13842 -- Added tests to verify that XViewMiddleware works with class-based views. 2010-10-18 23:58:06 +00:00
staticfiles_tests Stopped staticfiles app from requiring a models module when looking for static files. Also removed a bit of code smell in the prefix handling by saving it in the source file storage. 2011-01-15 23:38:00 +00:00
string_lookup Migrated string_lookup doctests. Thanks to Stephan Jaekel. 2010-09-27 15:17:36 +00:00
syndication Fixed #14508 - test suite silences warnings. 2010-11-11 15:06:20 +00:00
templates Fixed #15012 -- Added post-rendering callbacks to TemplateResponse so that decorators (in particular, the cache decorator) can defer processing until after rendering has occurred. Thanks to Joshua Ginsberg for the draft patch. 2011-01-24 14:24:35 +00:00
test_client_regress Fixed #14753 -- Fixed the test client to not raise an AssertionError when request.raw_post_data is accessed from a view it has fetched with GET. Thanks zimnyx for the report and ojii for the patch. 2011-01-21 01:04:05 +00:00
test_runner Fixed #14799 -- Provided a full solution for test database creation order problems. 2010-12-05 00:44:34 +00:00
test_utils Fixed #14774 -- the test client and assertNumQueries didn't work well together. Thanks to Jonas Obrist for the initial patch. 2011-01-20 04:47:47 +00:00
text Fixed #5672 -- Allow the separator in the get_text_list utility function to be translated. Thanks, Claude. 2010-12-12 22:53:49 +00:00
urlpatterns_reverse Fixed #14389, #9666 -- Started the migration path to make the first argument to url and ssi template tags syntactically consistent with other tags. Thanks to Sean Brant for the draft patch. 2010-11-20 06:22:28 +00:00
utils Fixed #2986 -- Made the JavaScript code that drives related model instance addition in a popup window handle a model representation containing new lines. Also, moved the escapejs functionality yoo django.utils.html so it can be used from Python code. Thanks andrewwatts for the patch. 2011-01-02 17:34:52 +00:00
views Fixed #15122 -- Restored reporting of the template files tried in the texmplate loader post mortem section of the TemplateDoesNotExit 500 error debug page. Thanks rdrey for reporting this regression. 2011-01-20 22:33:58 +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