django1/tests
Anssi Kääriäinen 8d65b6082c Fixed #20955 -- select_related regression
In cases where the same connection (from model A to model B along the
same field) was needed multiple times in a select_related query, the
join setup code mistakenly reused an existing join.
2013-08-22 10:51:07 +03:00
..
admin_changelist Added ModelAdmin.get_search_fields. 2013-08-03 20:02:43 -04:00
admin_custom_urls Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
admin_docs Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
admin_filters Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
admin_inlines Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
admin_ordering Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
admin_registration Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
admin_scripts Removed part of a test that doesn't work on Jenkins; refs #19877. 2013-07-30 11:59:04 -04:00
admin_util Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
admin_validation Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
admin_views Fixed #20640 -- Avoided NoReverseMatch in get_deleted_objects 2013-08-19 12:01:33 -04:00
admin_widgets Combine consecutive with statements 2013-08-16 20:12:10 +02:00
aggregation Fixed an aggregation test failure on MySQL. 2013-08-19 20:39:30 -04:00
aggregation_regress Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
app_loading Fixed #17667 -- Prevented app loading from skipping nonexistent apps after the first try 2013-08-05 13:34:35 -04:00
backends Fixed #17519 -- Fixed missing SQL constraints to proxy models. 2013-08-02 07:41:56 -04:00
base add comment to explain why it's necessary to do an explicit check for 2013-05-19 10:36:04 +02:00
bash_completion Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
basic Made Model.__eq__ consider proxy models equivalent 2013-08-19 09:51:28 +03:00
bug639 Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
bug8245 Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
builtin_server Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
bulk_create Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
cache Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
check Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
choices Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
commands_sql Fixed #15697 -- Made sqlindexes aware of auto-created tables 2013-05-29 15:50:26 +02:00
comment_tests Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
conditional_processing Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
contenttypes_tests Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
context_processors Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
createsuperuser Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
csrf_tests Fixed #19436 -- Don't log warnings in ensure_csrf_cookie. 2013-05-18 16:17:46 +02:00
custom_columns Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
custom_columns_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
custom_managers Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
custom_managers_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
custom_methods Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
custom_pk Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
datatypes Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
dates Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
datetimes Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
db_backends Fixed #13813 -- Comparison of DatabaseWrappers doesn't raise errors. 2013-07-08 09:35:08 +10:00
db_typecasts Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
decorators Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
defaultfilters Combine consecutive with statements 2013-08-16 20:12:10 +02:00
defer Made Model.__eq__ consider proxy models equivalent 2013-08-19 09:51:28 +03:00
defer_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
delete Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
delete_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
deprecation Import test case classes from their public API module. 2013-08-20 22:23:41 -03:00
dispatch Fixed #20943 -- Weakly reference senders when caching their associated receivers 2013-08-20 01:53:58 -04:00
distinct_on_fields Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
empty Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
expressions Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
expressions_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
extra_regress Deprecated SortedDict (replaced with collections.OrderedDict) 2013-08-04 07:09:39 -04:00
field_deconstruction Ported over Field.deconstruct() from my schema alteration branch. 2013-06-28 17:27:52 +01:00
field_defaults Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
field_subclassing Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
file_storage Fixed #13518 -- Added FILE_UPLOAD_DIRECTORY_PERMISSIONS setting 2013-08-12 07:15:59 -04:00
file_uploads Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
files Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
fixtures Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
fixtures_model_package Fixed #14300 -- Fixed initial SQL location if models is a package. 2013-07-24 06:56:33 -04:00
fixtures_regress Fixed #20933 -- Allowed loaddata to load fixtures from relative paths. 2013-08-20 21:25:57 +02:00
force_insert_update Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
foreign_object Fixed #20874 -- bump_prefix() in nested subqueries 2013-08-13 14:11:52 +03:00
forms_tests Combine consecutive with statements 2013-08-16 20:12:10 +02:00
generic_inline_admin Fixed #18681 -- GenericInlineModelAdmin.get_formset() no longer bypasses get_fieldsets(). 2013-08-02 10:41:29 -04:00
generic_relations Fixed a regression with get_or_create and virtual fields. 2013-08-21 08:30:21 -04:00
generic_relations_regress Fixed #20564 -- Generic relations exclude() regression 2013-06-06 01:54:46 +03:00
generic_views Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
get_earliest_or_latest Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
get_object_or_404 Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
get_or_create Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
get_or_create_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
handlers Defined available_apps in relevant tests. 2013-06-10 11:30:01 +02:00
http_utils Fixed a Python 2.6 regression (GzipFile can't act as a context manager) 2013-05-21 13:18:53 +02:00
httpwrappers Fixed #10491 -- Allowed passing lazy objects to HttpResponseRedirect. 2013-07-30 13:39:44 -04:00
i18n Combine consecutive with statements 2013-08-16 20:12:10 +02:00
indexes Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
initial_sql_regress Added regression test for custom SQL containing percents 2013-03-26 23:19:32 +01:00
inline_formsets Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
inspectdb Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
introspection Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
invalid_models Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
known_related_objects Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
logging_tests Combine consecutive with statements 2013-08-16 20:12:10 +02:00
lookup Added field.attname to Options.name_map 2013-07-31 16:02:36 +03:00
m2m_and_m2o Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
m2m_intermediary Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
m2m_multiple Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
m2m_recursive Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
m2m_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
m2m_signals Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
m2m_through Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
m2m_through_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
m2o_recursive Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
mail Switched mail tests to SimpleTestCase. 2013-08-21 07:48:16 -03:00
managers_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
many_to_many Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
many_to_one Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
many_to_one_null Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
many_to_one_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
max_lengths Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
middleware Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
middleware_exceptions Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
model_fields Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
model_forms Fixed #16986 -- Model.clean() can report errors on individual fields. 2013-08-06 02:26:51 +07:00
model_forms_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
model_formsets Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
model_formsets_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
model_inheritance Fixed #20946 -- model inheritance + m2m failure 2013-08-21 08:32:19 +03:00
model_inheritance_regress Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
model_inheritance_same_model_name Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
model_inheritance_select_related Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
model_package Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
model_permalink Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
model_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
model_validation Fixes a Python 3.x regression introduced in a19e9d80 2013-05-18 18:06:31 +02:00
modeladmin Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
multiple_database Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
mutually_referential Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
nested_foreign_keys Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
null_fk Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
null_fk_ordering Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
null_queries Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
one_to_one Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
one_to_one_regress Fixed #14043 -- Made sure nullable o2o delete works as expected 2013-08-20 09:50:37 +03:00
or_lookups Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
order_with_respect_to Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
ordering Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
pagination Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
prefetch_related Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
properties Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
proxy_model_inheritance Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
proxy_models Fixed #20777 -- Admin proxy model deletion regression 2013-08-19 09:51:41 +03:00
queries Fixed #20955 -- select_related regression 2013-08-22 10:51:07 +03:00
queryset_pickle Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
raw_query Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
requests Fixed #19987 -- Disabled host validation when DEBUG=True. 2013-07-31 10:38:59 -04:00
requirements Fixed #19196 -- Added test/requirements 2013-07-10 09:24:05 -04:00
reserved_names Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
resolve_url Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
responses Fixed #12747 -- Made reason phrases customizable. 2013-05-19 13:14:54 +02:00
reverse_lookup Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
reverse_single_related Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
save_delete_hooks Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
select_for_update Fixed #19918 -- Modified select_for_update to run on the write database. 2013-08-06 09:50:59 -04:00
select_related Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
select_related_onetoone Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
select_related_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
serializers Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
serializers_regress Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 19:47:26 -04:00
servers Expand testing of Test LiveServerTestCase static files serving. 2013-08-10 16:32:07 -03:00
settings_tests Fixed test failures on Python 3 - refs #12288 2013-08-09 09:12:15 -04:00
signals Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
signals_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
signed_cookies_tests Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
signing Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
sites_framework Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
staticfiles_tests Fixed #20819 -- Return 404 instead of 500 error when ``staticfiles`` view is used in production. 2013-07-31 18:58:50 +10:00
str Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
string_lookup Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
swappable_models Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
syncdb_signals Fixed #20603 -- Made the test suite faster. 2013-06-14 23:16:15 +02:00
syndication Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
tablespaces Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
template_tests Fixed #20709 -- Allowed {% widthratio %} to accept an "as" parameter. 2013-08-14 12:40:19 -04:00
templates Added a test for AdminSite.app_index_template; refs #8498. 2013-07-31 06:59:15 -04:00
test_client Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
test_client_regress Fixed #18356 -- Gave the test client signals.template_rendered call a unique dispatch_uid 2013-08-09 12:22:42 -04:00
test_discovery_sample Removed tests for django.utils.unittest vs. unittest. 2013-07-01 21:49:11 +02:00
test_discovery_sample2 Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
test_runner Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
test_runner_deprecation_app Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
test_runner_invalid_app Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
test_suite_override Removed tests for django.utils.unittest vs. unittest. 2013-07-01 21:49:11 +02:00
test_utils Combine consecutive with statements 2013-08-16 20:12:10 +02:00
text Fixed #20231 -- Don't use allow_lazy on smart_split 2013-04-10 13:05:29 +02:00
timezones Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
transactions Combine consecutive with statements 2013-08-16 20:12:10 +02:00
transactions_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
unmanaged_models Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
update Fixed #11521 -- usage of field.attname in .update() 2013-07-31 16:02:36 +03:00
update_only_fields Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
urlpatterns_reverse Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
user_commands Made (make|compile)messages check for availability of gettext commands. 2013-03-10 17:31:11 -03:00
utils_tests Regression test and patch for ticket #20924. 2013-08-15 20:59:58 +02:00
validation Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
validators Fixed an email validation regression 2013-07-21 21:11:32 +02:00
version Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
view_tests Combine consecutive with statements 2013-08-16 20:12:10 +02:00
wsgi Fixed a few more imports of django.utils.unittest. 2013-07-01 22:49:07 +02:00
.coveragerc More import removals 2013-06-29 11:58:36 +02:00
runtests.py Import test case classes from their public API module. 2013-08-20 22:23:41 -03:00
test_sqlite.py Updated an inaccurate comment. 2013-02-26 10:00:14 +01:00
urls.py Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00