django/tests/regressiontests
Alex Gaynor 1eee7757b7 Converted generic localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 20:30:50 +00:00
..
admin_changelist Fixed #14312 -- Raising an ``IncorrectLookupParameters`` if the page number given to an admin change list exceeds the number of the last page. Thanks, mk. 2010-12-12 22:58:47 +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 Ensure that a Popen object is closed promptly during the tests. 2010-12-08 04:03:07 +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 Fixed #13607 -- Auto-initialize admin's date hierarchy links intelligently. Thanks, Simon Meers. 2010-12-12 22:54:50 +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 Fixed a suite of errors in the ORM -- a) fixed calling values_list().values_list() and changing whether the results are flat, b) fixed an issue with fields on the left-hand side of what becomes the HAVING clause not being included in the GROUP BY clause, and c) fixed a bug with fields from values() calls not being included in the GROUP BY clause. This fixed the recent test failures under postgresql. 2010-11-26 14:24:08 +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 #14103 -- Take USE_ETAGS setting into account when patching the response headers. Thanks, trbs and Eric Holscher. 2010-12-12 22:57:17 +00:00
comment_tests 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
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 Migrated defaultfilters doctests. Thanks to Stephan Jaekel. 2010-09-28 08:19:04 +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 #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
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 #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
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 Converted generic localflavor doctests to unittests. We have always been at war with doctests. Thanks to Idan Gazit. 2010-12-18 20:30:50 +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 Fixes #14873 -- A paginated ListView with a List instead of queryset produces an error. 2010-12-09 02:34:14 +00:00
get_or_create_regress Converted get_or_create_regress tests from doctests to unittests. We have always been at war with doctests. 2010-10-12 01:54:19 +00:00
httpwrappers 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
humanize 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
i18n Fixed #4030 -- Added ability to translate language names. Thanks to Antti Kaihola and Ramiro Morales for the initial patch. 2010-12-12 23:02:45 +00:00
initial_sql_regress Converted initial_sql_regress tests from doctests (sort of...) to unittests. We have always been at war with doctests. 2010-10-12 01:59:28 +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
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 #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
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 #10863 -- Added HTML support to mail_managers() and mail_admins(), and used this to provide more and prettier detail in error emails. Thanks to boxed for the suggestion, and to Rob Hudson and Brodie Rao for their work on the patch. 2010-12-06 14:21:51 +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 #12815 -- Added TemplateResponse, a lazy-evaluated Response class. Thanks to Simon Willison for the original idea, and to Mikhail Korobov and Ivan Sagalaev for their assistance, including the draft patch from Mikhail. 2010-12-07 13:57:01 +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 Fixed #14691 -- Made ForeignKey.validate() use the right database. Thanks Marco Paolini for the report. 2010-11-16 22:09:13 +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 Fixed a suite of errors in the ORM -- a) fixed calling values_list().values_list() and changing whether the results are flat, b) fixed an issue with fields on the left-hand side of what becomes the HAVING clause not being included in the GROUP BY clause, and c) fixed a bug with fields from values() calls not being included in the GROUP BY clause. This fixed the recent test failures under postgresql. 2010-11-26 14:24:08 +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 #3304 -- Added support for HTTPOnly cookies. Thanks to arvin for the suggestion, and rodolfo for the draft patch. 2010-11-26 13:30:50 +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 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
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 #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
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 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
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 Fixes #7817 and #9456. 2010-12-18 02:50:26 +00:00
test_client_regress 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
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 #14749 -- added support for using Django's file object as context managers. Thanks to Florian Apolloner for the patch. 2010-11-21 17:51:41 +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 Tests for utils.text.wrap 2010-11-30 21:21:37 +00:00
views Fixed #13726 -- Further refine changes made in r12384 and r13069 for using non-English source languages in JavaScript translation catalogues. Thanks, Ramiro. 2010-12-13 13:52:52 +00:00
__init__.py