1
0
mirror of https://github.com/django/django.git synced 2024-12-23 17:46:27 +00:00
django/tests/regressiontests
Russell Keith-Magee afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
assert_ -> assertTrue
 assertEquals -> assertEqual
 failUnless -> assertTrue

For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 15:04:39 +00:00
..
admin_changelist Fixed #11447 -- Ensured that ForeignKey widgets in a list-editable admin changelist won't wrap split the widget. Thanks to patrick@vonautomatisch.at for the report, and Julien Phalip for the patch. 2011-02-26 12:43:57 +00:00
admin_filterspecs Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
admin_inlines Fixed #15424 -- Corrected lookup of callables listed in admin inlines' readonly_fields by passing the right ModelAdmin (sub)class instance when instantiating inline forms admin wrappers. Also, added early validation of its elements. Thanks kmike for the report and Karen for the patch fixing the issue. 2011-02-26 01:44:41 +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 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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
admin_util Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
admin_validation Fixed #15424 -- Corrected lookup of callables listed in admin inlines' readonly_fields by passing the right ModelAdmin (sub)class instance when instantiating inline forms admin wrappers. Also, added early validation of its elements. Thanks kmike for the report and Karen for the patch fixing the issue. 2011-02-26 01:44:41 +00:00
admin_views Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
admin_widgets Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
aggregation_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
app_loading Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +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
bug639
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
cache Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
comment_tests Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
conditional_processing Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
custom_columns_regress
custom_managers_regress
datatypes Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
dates
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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +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
delete_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
dispatch Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
expressions_regress Fixed #10154: Allow combining F expressions with timedelta values. 2010-12-22 03:34:04 +00:00
extra_regress
file_storage Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
file_uploads Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
fixtures_regress Fixed #9964 -- Ensure that all database operations make transactions dirty, not just write operations. Many thanks to Shai Berger for his work and persistence on this issue. 2011-02-12 13:03:34 +00:00
forms Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
formwizard
generic_inline_admin Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
generic_relations_regress
generic_views Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +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 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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +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 the rest of the US localflavor tests that were forgotten in r15058. Refs r15029. 2010-12-31 14:38:19 +00:00
m2m_regress
m2m_through_regress Fixed #15161 - Corrected handling of ManyToManyField with through table using to_field on its ForeignKeys. Thanks to adehnert for the report. 2011-01-26 19:10:08 +00:00
mail Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
managers_regress
many_to_one_regress
max_lengths Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
middleware Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
middleware_exceptions 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_fields 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_forms_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_formsets_regress Fixed #14099 - BaseModelFormSet should use _should_delete_form 2011-02-21 14:23:02 +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
model_regress
modeladmin Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
multiple_database Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
null_fk Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
null_fk_ordering
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
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
queryset_pickle
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 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
select_related_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
serializers_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
servers
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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
sites_framework
special_headers
staticfiles_tests Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04: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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
templates Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
test_client_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
test_runner Fixed #15029 -- Moved to database backends the ability to decide if two DATABASES items are different when creating temporary databases for tests. 2011-02-02 14:02:14 +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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
utils Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
views Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
__init__.py