django/tests/regressiontests
Julien Phalip 99512d3544 Fixed #16918 -- Ensured that custom querysets are used when provided to `BaseDateDetailView.get_object()`. Thanks to mitar for the report, to koenb for the patch and to Preston Holmes for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13 13:38:38 +00:00
..
admin_changelist Improved test isolation of the admin tests and assigned custom admin sites to 2011-09-20 18:16:49 +00:00
admin_custom_urls Remove a handful of `import *` from the tests. 2011-10-13 12:53:02 +00:00
admin_filters Fixed #15997 -- Added `list_max_show_all` option to `ModelAdmin` in replacement for a global module level variable. Thanks, jsdalton. 2011-09-08 13:25:00 +00:00
admin_inlines Fixed some tests from r16934 to be auto-id-independent. 2011-10-11 21:55:45 +00:00
admin_ordering Fixed #8060 - Added permissions-checking for admin inlines. Thanks p.patruno for report and Stephan Jaensch for work on the patch. 2011-10-07 00:41:25 +00:00
admin_registration Fixed #12004 -- Improved error reporting when an abstract class is registered with the admin. Thanks to Matt Smalley for the report, and to mk and Julien Phalip for the patch. 2011-02-23 13:43:21 +00:00
admin_scripts Fixed #15372 -- Switched to a startproject default layout that allows us to avoid sys.path hacks. 2011-10-13 05:56:15 +00:00
admin_util Fixed #16050 -- BACKWARDS-INCOMPATIBLE CHANGE: Moved static files of the admin to conventional file system location. 2011-06-30 09:06:19 +00:00
admin_validation Fixed #14503 -- Unified multiple implementations of test cases assert* methods that verify a given exception is raised by a callable throughout the Django test suite. 2011-08-13 00:42:08 +00:00
admin_views Fixed #16371 -- Added a prefix "field-" to all CSS class names automatically generated from field names in admin forms to avoid conflicts with other common class names (e.g. "button"). This is backwards-incompatible for those who previously used plain field names as selector in custom style sheets or javascript transformations. 2011-10-10 12:35:06 +00:00
admin_widgets Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
aggregation_regress Fixed #16584 -- Fixed a bunch of typos in code comments. Thanks, Bernhard Essl. 2011-08-12 14:14:15 +00:00
app_loading Refs #15093 -- Fixed another get_models call missed in r16053. Thanks Luke for catching it. 2011-04-27 17:51:43 +00:00
backends Fixed #3615: Added support for loading fixtures with forward references on database backends (such as MySQL/InnoDB) that do not support deferred constraint checking. Many thanks to jsdalton for coming up with a clever solution to this long-standing issue, and to jacob, ramiro, graham_king, and russellm for review/testing. (Apologies if I missed anyone else who helped here.) 2011-08-07 00:43:26 +00:00
bash_completion Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
bulk_create Ensure bulk_create returns the right value if the argument is an empty list. 2011-09-10 21:46:59 +00:00
cache Improved test isolation of the admin tests and assigned custom admin sites to 2011-09-20 18:16:49 +00:00
comment_tests Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
conditional_processing Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
context_processors Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
csrf_tests Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
custom_columns_regress Fixed #14503 -- Unified multiple implementations of test cases assert* methods that verify a given exception is raised by a callable throughout the Django test suite. 2011-08-13 00:42:08 +00:00
custom_managers_regress Migrated the custom_managers_regress doctests. Thanks to Paul McMillan. 2010-09-26 09:55:41 +00:00
datatypes Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +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 #16808, removed some dead code from teh ORM. Thanks to aaugustin for the patch. 2011-09-10 17:38:58 +00:00
decorators Deprecated legacy ways of calling cache_page 2011-06-08 11:12:01 +00:00
defaultfilters Fixed #14288 -- Fixed linebreaksbr template filter to normalize newlines first. Thanks, Julien Phalip. 2011-07-29 10:22:25 +00:00
defer_regress Fixed #16480 -- Modified test added in r16522 so it doesn't use a query not supported under Oracle (`GROUP BY` a NCLOB field). Thanks Aymeric for the report. Refs #4186 2011-07-17 22:22:39 +00:00
delete_regress Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
dispatch Remove a handful of `import *` from the tests. 2011-10-13 12:53:02 +00:00
expressions_regress Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
extra_regress Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
file_storage Fixed #16703 -- Raise an exception if the storage location of the DefaultStorageFinder is empty. 2011-09-21 15:58:32 +00:00
file_uploads Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
fixtures_regress Fixed #16925 -- Make sure a signal is disconnected if the test fails. Thanks to aaugustin for the patch. 2011-09-26 10:11:18 +00:00
forms Remove a handful of `import *` from the tests. 2011-10-13 12:53:02 +00:00
generic_inline_admin Fixed #8060 - Added permissions-checking for admin inlines. Thanks p.patruno for report and Stephan Jaensch for work on the patch. 2011-10-07 00:41:25 +00:00
generic_relations_regress Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
generic_views Fixed #16918 -- Ensured that custom querysets are used when provided to `BaseDateDetailView.get_object()`. Thanks to mitar for the report, to koenb for the patch and to Preston Holmes for the review. 2011-10-13 13:38:38 +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 #15672 -- Refined changes made in r15918. Thanks, vung. 2011-04-22 12:15:52 +00:00
httpwrappers Fixed #16494 by normalizing HttpResponse behavior with non-string input. HttpResponse now always converts content to string on output, regardless of input type. 2011-09-14 23:27:35 +00:00
i18n Fixed #16909 -- Pass language to get_format_modules when calling it from get_format to make sure the correct module is returned. 2011-09-22 15:04:27 +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 Fixed a number of tests that were failing in Oracle due to false assumptions about the primary keys of objects. 2011-03-09 00:39:35 +00:00
inspectdb Fixed #15170 -- Skip the inspectdb test under MySQL/MyISAM, because it can't differentiate a foreign key from an integer. 2011-02-01 14:42:52 +00:00
introspection Fixed #3615: Added support for loading fixtures with forward references on database backends (such as MySQL/InnoDB) that do not support deferred constraint checking. Many thanks to jsdalton for coming up with a clever solution to this long-standing issue, and to jacob, ramiro, graham_king, and russellm for review/testing. (Apologies if I missed anyone else who helped here.) 2011-08-07 00:43:26 +00:00
locale/de/LC_MESSAGES Fixed #5494, #10765, #14924 -- Modified the order in which translations are read when composing the final translation to offer at runtime. 2011-02-07 18:48:40 +00:00
localflavor Fixed #16202 -- Added a Slovenian localflavor. Thanks to Jure Cuhalev < gandalf@owca.info>, Gasper Zejn and Domen Kozar for the patch. 2011-08-28 13:51:28 +00:00
logging_tests Fixed #16568 -- Added RequireDebugFalse filter to prevent sending 500 error emails when DEBUG is True in projects with no explicit LOGGING setting. Thanks to Andreas Pelme for report and patch. 2011-09-16 16:41:38 +00:00
m2m_regress Fixed #14270 - related manager classes should be cached 2011-09-30 10:41:25 +00:00
m2m_through_regress Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
mail Fixed #15750 -- Handle empty mail server credentials gracefully. Thanks, LeandroSouza and bedmondmark. 2011-07-03 17:56:05 +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 #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
middleware Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
middleware_exceptions Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
model_fields Fixed #14695 -- Stopped model fields from incorrectly overwriting the field name during model initialization if it was already passed as a keyword argument. Thanks, erikrose and willhardy. 2011-08-13 11:53:42 +00:00
model_forms_regress Fixed #15315 -- Added support for the 'widget' argument to modelform_factory. Thanks to SardarNL and Will Hardy for the patch. 2011-08-23 04:08:24 +00:00
model_formsets_regress Fixed #15549 -- Removed dependency on specific primary keys. Thanks to bberes for the report. 2011-03-04 00:23:00 +00:00
model_inheritance_regress Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +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_permalink Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
model_regress Fixed #16196 - Redundant or incorrect code in tests 2011-06-10 10:18:06 +00:00
modeladmin Fixed #8060 - Added permissions-checking for admin inlines. Thanks p.patruno for report and Stephan Jaensch for work on the patch. 2011-10-07 00:41:25 +00:00
multiple_database Fixed #16584 -- Fixed a bunch of typos in code comments. Thanks, Bernhard Essl. 2011-08-12 14:14:15 +00:00
null_fk Fixed #15823 - incorrect join condition when combining Q objects 2011-05-05 20:26:26 +00:00
null_fk_ordering Migrated null_fk_ordering doctests. Thanks to Stephan Jaekel. 2010-09-28 08:17:12 +00:00
null_queries Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
one_to_one_regress Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
pagination_regress Fixed #13689 -- Convert the per_page value to an integer upon initialization of the Paginator class to prevent unpleasant TypeErrors. Thanks, rbanffy, Eric Florenzano and Claude Paroz. 2011-04-22 12:03:03 +00:00
queries Fixed doc references to `django.db.models.query.QuerySet` and converted some tabs that were introduced in r16699 to spaces. 2011-09-30 10:28:39 +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 Added protection against spoofing of X_FORWARDED_HOST headers. A security announcement will be made shortly. 2011-09-10 00:46:38 +00:00
reverse_single_related Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
select_related_onetoone Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
select_related_regress Fixed a bunch more tests that were failing in Oracle due to false assumptions about the primary keys of objects. 2011-03-09 23:46:28 +00:00
serializers_regress Fixed #3615: Added support for loading fixtures with forward references on database backends (such as MySQL/InnoDB) that do not support deferred constraint checking. Many thanks to jsdalton for coming up with a clever solution to this long-standing issue, and to jacob, ramiro, graham_king, and russellm for review/testing. (Apologies if I missed anyone else who helped here.) 2011-08-07 00:43:26 +00:00
servers Fixed #16050 -- BACKWARDS-INCOMPATIBLE CHANGE: Moved static files of the admin to conventional file system location. 2011-06-30 09:06:19 +00:00
settings_tests Made the tests introduced in r16942 use old-style class decoration to run with Python < 2.6. 2011-10-08 11:36:05 +00:00
signals_regress Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
signed_cookies_tests Fixed #12417 -- Added signing functionality, including signing cookies. Many thanks to Simon, Stephan, Paul and everyone else involved. 2011-05-21 14:41:14 +00:00
signing Fixed #15237 -- Fixed a typo in specifying UTF-8 encoding in the feed generator and signing tests. Thanks, Aymeric Augustin. 2011-09-09 18:34:33 +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 #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
staticfiles_tests Fixed #16703 -- Raise an exception if the storage location of the DefaultStorageFinder is empty. 2011-09-21 15:58:32 +00:00
string_lookup Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
syndication Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
templates Fixed #16935 - misleading message if AttributeError escapes during SimpleTemplateResponse.render 2011-09-30 11:46:23 +00:00
test_client_regress Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
test_runner Fixed #15372 -- Switched to a startproject default layout that allows us to avoid sys.path hacks. 2011-10-13 05:56:15 +00:00
test_utils Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
text Remove a handful of `import *` from the tests. 2011-10-13 12:53:02 +00:00
transactions_regress Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
urlpatterns_reverse Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
utils Remove a handful of `import *` from the tests. 2011-10-13 12:53:02 +00:00
views Fixed #16705 - Made the test client adhere to the WSGI spec -- in particular, removed the assumption that environ['QUERY_STRING'] exists. 2011-10-06 20:39:15 +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