django1/tests/regressiontests
Alex Gaynor d14bf8c62b Fixed #11404. Added ``FormSet.has_changed``, for consistancy with ``Form.has_changed``. Thanks to michelts for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-10 02:42:05 +00:00
..
admin_changelist 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_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 Further improved on the work done in r16622 by making the help text icons look hoverable in the admin tabular inline headers. 2011-08-26 04:36:31 +00:00
admin_ordering Fixed #12875 -- Added get_ordering to ModelAdmin. Many thanks to Manuel Saelices. 2011-06-12 13:04:53 +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 #16155 -- Removed Python 2.4 compatibility constructs from code and mentions from docs. Thanks Aymeric Augustin for the report and patch. 2011-06-09 20:01:28 +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 #16716 -- Fixed two small regressions in the development version introduced in r16144 where the changelist crashed with a 500 error instead of nicely operating a 302 redirection back to the changelist. 2011-08-28 07:57:56 +00:00
admin_widgets Fixed #16584 -- Fixed a bunch of typos in code comments. Thanks, Bernhard Essl. 2011-08-12 14:14:15 +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 Fixed #7596. Added Model.objects.bulk_create, and make use of it in several places. This provides a performance benefit when inserting multiple objects. THanks to Russ for the review, and Simon Meers for the MySQl implementation. 2011-09-09 19:22:28 +00:00
cache Fixed #16003 -- Restored compatibility of the admin when using USE_ETAGS. Thanks for the initial patch, pterk. 2011-09-08 13:25:31 +00:00
comment_tests Fixed #16042 -- Use the content types caching in the comments contrib app. Thanks, ptone, Julien Phalip and Thejaswi Puthraya. 2011-09-09 18:34:24 +00:00
conditional_processing Modified some regression tests to make them independent of the default root urlconf. 2011-04-02 13:27:17 +00:00
context_processors Fixed auth context processor tests, which were not running at all previously. 2011-05-31 15:19:19 +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 #7596. Added Model.objects.bulk_create, and make use of it in several places. This provides a performance benefit when inserting multiple objects. THanks to Russ for the review, and Simon Meers for the MySQl implementation. 2011-09-09 19:22:28 +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 Removed a bunch more Python 2.4 workarounds now that we don't support that version. Refs #15702 -- thanks to jonash for the patch. 2011-03-28 02:11:19 +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 #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
file_uploads 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
fixtures_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
forms Fixed #11404. Added ``FormSet.has_changed``, for consistancy with ``Form.has_changed``. Thanks to michelts for the patch. 2011-09-10 02:42:05 +00:00
generic_inline_admin Fixed #15907 -- Fixed another conflict between the ModelForm exclude and the GenericInline. Thanks, leonelfreire and prestontimmons. 2011-08-12 14:14:58 +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 #15907 -- Fixed another conflict between the ModelForm exclude and the GenericInline. Thanks, leonelfreire and prestontimmons. 2011-08-12 14:14:58 +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 bug with our SimpleCookie regarding load/custom Morsel, and simplified implementation 2011-07-08 12:07:54 +00:00
humanize Add a test for the intcomma regression described in #16404/#16562, fixed in r16726. Refs #16404. 2011-09-09 17:57:45 +00:00
i18n Fixed #16721 -- Made sure that blocktrans correctly handles percents (%), even in the plural block. Thanks for the initial patch, Claude Paroz. 2011-09-08 13:25:41 +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 #16736 -- Enabled the merging of user-supplied arguments to format the error emails' subject in `AdminEmailHandler`. 2011-09-02 03:04:02 +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 #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 #14261 - Added clickjacking protection (X-Frame-Options header) 2011-05-30 22:27:47 +00:00
middleware_exceptions 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
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 #15604 -- Changed django.db.models.permalink to use wraps() so that it doesn't eat the docstring. Thanks for the report, sfllaw. Also added tests. 2011-03-14 05:22:39 +00:00
model_regress Fixed #16196 - Redundant or incorrect code in tests 2011-06-10 10:18:06 +00:00
modeladmin 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
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 Added two pointless query repeats to work around a known issue with MySQL that was causing failures in our test suite. 2011-09-09 23:02:33 +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 Also copy `__module__` to our dynamically created TestCase subclass when override_settings acts as a class decorator. 2011-09-04 22:51:53 +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 a failing test in special_headers, and performed a bit of cleanup. 2011-04-26 16:56:17 +00:00
staticfiles_tests Fixed #15252 -- Added static template tag and CachedStaticFilesStorage to staticfiles contrib app. 2011-08-11 14:07:39 +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 #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
templates Fixed #16780 -- Removed a timing sensitive test from the template test suite. Thanks to Alex for the lend of his eyeballs. 2011-09-09 17:54:04 +00:00
test_client_regress Fixed #10571 -- Factored out the payload encoding code to make sure it is used for PUT requests. Thanks to kennu for the report, pterk for the patch, and wildfire for the review comments. 2011-08-23 00:52:45 +00:00
test_runner Fixed #12658 -- Fixed test discovery so ImportErrors aren't ignored when both `tests` and `models` are packages. Thanks schinckel for the report and boxm for a patch for the issue. 2011-06-12 12:34:10 +00:00
test_utils Fixed #15838 -- Promoted assertFieldOutput to a general test utility. Thanks to Ramiro Morales for the patch. 2011-08-23 02:32:37 +00:00
text Added missing future imports missed in r16167. 2011-05-06 19:49:06 +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 #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
utils 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
views Fixed #9847 -- Added 403 response handler. Many thanks to kgrandis, adamnelson, vkryachko, fvox13 and Chris Beaven. 2011-08-12 14:15:31 +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