django/tests/modeltests
Alex Gaynor 103a201449 Fixed #14444 -- Convert the pagination doctests to unittests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11 20:38:12 +00:00
..
aggregation
basic 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
choices Converted doctest to unittest. Patch by Alex Gaynor. 2010-09-10 20:54:01 +00:00
custom_columns 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 Migrated the custom_managers tests. Thanks to Alex Gaynor. 2010-09-12 20:02:57 +00:00
custom_methods Migrated custom_methods doctests. Thanks to Alex Gaynor. 2010-09-12 20:03:03 +00:00
custom_pk 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
defer Migrated defer doctests. Thanks to Alex Gaynor. 2010-09-12 20:03:20 +00:00
delete Migrated delete doctests. Thanks to Alex Gaynor. 2010-09-12 20:03:28 +00:00
empty Migrated empty doctests. Thanks to Alex Gaynor. 2010-09-12 20:05:07 +00:00
expressions Migrated expressions doctests. Thanks to Alex Gaynor. 2010-09-12 20:05:17 +00:00
field_defaults Migrated i18n and field_defaults doctests. Thanks to Alex Gaynor. 2010-09-12 20:03:39 +00:00
field_subclassing Fixed #14436 -- Escalated 1.2 PendingDeprecationWarnings to DeprecationWarnings, and removed 1.1 deprecated code. 2010-10-11 12:20:07 +00:00
files Migrate the files doctests. Thanks to Alex Gaynor. 2010-09-12 20:03:55 +00:00
fixtures 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
fixtures_model_package Pass commit=False to loaddata in tests, which will keep the DB connection open. Closing the connection has the side-effect on some DBs (Postgres, MySQL/InnoDB) of rolling back the transaction that was in progress, causing these tests to fail. 2010-09-10 19:16:43 +00:00
force_insert_update Migrated the force_insert_update tests. Thanks to Alex Gaynor. 2010-09-12 20:04:04 +00:00
generic_relations
get_latest Migrate get_latest doctests. Thanks to Alex Gaynor. 2010-09-12 20:04:12 +00:00
get_object_or_404 Migrated get_object_or_404 doctests. Thanks to Alex Gaynor. 2010-09-12 20:04:21 +00:00
get_or_create Fixed #12979 -- allowed using savepoints in TestCase (i.e. tests with transactions disabled), convert the GetOrCreate tests to use this. 2010-10-09 06:06:24 +00:00
invalid_models
lookup 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_and_m2o Migrated m2m_intermediary doctests. Thanks to Alex Gaynor. 2010-09-12 20:04:48 +00:00
m2m_intermediary Migrated m2m_intermediary doctests. Thanks to Alex Gaynor. 2010-09-12 20:04:48 +00:00
m2m_multiple Migrated m2m_multiple doctests. Thanks to Alex Gaynor. 2010-09-12 20:04:57 +00:00
m2m_recursive Convert m2m_recursive tests to unittests. We have always been at war with doctests. 2010-10-09 16:26:48 +00:00
m2m_signals
m2m_through
m2o_recursive
m2o_recursive2
many_to_many
many_to_one
many_to_one_null
model_forms
model_formsets
model_inheritance
model_inheritance_same_model_name
model_package Fixed #12012 -- Added support for logging. Thanks to Vinay Sajip for his draft patch, and to the many people who gave feedback during development of the patch. 2010-10-04 15:12:39 +00:00
mutually_referential
one_to_one
or_lookups
order_with_respect_to Fixed #13241. order_with_respect_to now works with ForeignKeys who refer to their model lazily (i.e. with a string). Thanks to Gabriel Grant for the patch. 2010-10-08 23:54:43 +00:00
ordering Converted ordering tests from doctests to unittests. We have always been at war with doctests. 2010-10-11 18:17:37 +00:00
pagination Fixed #14444 -- Convert the pagination doctests to unittests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch. 2010-10-11 20:38:12 +00:00
properties
proxy_model_inheritance
proxy_models Migrated proxy_models doctests. Thanks to Eric Florenzano. 2010-09-13 05:29:21 +00:00
raw_query
reserved_names Migrated reserved_names doctests. Thanks to Eric Florenzano. 2010-09-13 05:29:09 +00:00
reverse_lookup Migrated reverse_lookup doctests. Thanks to Eric Florenzano 2010-09-13 05:28:59 +00:00
save_delete_hooks Converted save_delete_hooks tests from doctests to unittests. We have always been at war with doctests. 2010-10-11 17:41:44 +00:00
select_related Migrated select_related doctests. Thanks to Eric Florenzano. 2010-09-13 05:28:47 +00:00
serializers Fixed #14436 -- Escalated 1.2 PendingDeprecationWarnings to DeprecationWarnings, and removed 1.1 deprecated code. 2010-10-11 12:20:07 +00:00
signals Converted signals tests from doctests to unittests. We have always been at war with doctests. 2010-10-10 18:23:39 +00:00
str Migrated str doctests. Thanks to Eric Florenzano. 2010-09-13 05:28:38 +00:00
test_client 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
transactions 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
unmanaged_models Migrated unmanaged_models doctests. Thanks to Eric Florenzano. 2010-09-13 05:28:18 +00:00
update Migrated the update doctests. Thanks to Eric Florenzano. 2010-09-13 05:28:10 +00:00
user_commands Migrated user_commands doctests. Thanks to Eric Florenzano. 2010-09-13 05:28:01 +00:00
validation 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
validators 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
__init__.py