django/tests/regressiontests
Anssi Kääriäinen b4492a8ca4 Fixed #19837 -- Refactored split_exclude() join generation
The refactoring mainly concentrates on making sure the inner and outer
query agree about the split position. The split position is where the
multijoin happens, and thus the split position also determines the
columns used in the "WHERE col1 IN (SELECT col2 from ...)" condition.

This commit fixes a regression caused by #10790 and commit
69597e5bcc. The regression was caused
by wrong cols in the split position.
2013-02-19 01:10:49 +02:00
..
admin_changelist Use new TestCase methods for equality comparisons 2012-12-24 00:24:14 +00:00
admin_custom_urls Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`. 2013-02-05 04:16:07 -05:00
admin_filters Fixed a dependence on set-ordering in tests 2012-12-24 01:33:44 +00:00
admin_inlines Fix #19524 -- Incorrect caching of parents of unsaved model instances. 2012-12-28 23:34:54 +01:00
admin_ordering Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
admin_registration Fixed #17090 -- Made the API specification for `ModelAdmin.get_list_display()` more consistent with that of `ModelAdmin.list_display` by separating out the admin action check boxes business. This is backwards-incompatible for those who have been using the still-unreleased `get_list_display()` method. Thanks to Ramiro Morales for the review. 2011-10-26 09:37:07 +00:00
admin_scripts Fixed #19665 -- Ensured proper stderr output for Command.run_from_argv 2013-01-25 14:56:41 +01:00
admin_util Fixed error introduced when testing patch for 013db6ba85 2013-01-21 22:42:47 +01:00
admin_validation Fixed #19445 -- Skip admin fieldsets validation when the ModelAdmin.get_form() method is overridden. 2013-02-02 14:53:46 -08:00
admin_views Fixed #18558 -- Added url property to HttpResponseRedirect* 2013-02-13 10:29:32 +01:00
admin_widgets Moved has_changed logic from widget to form field 2013-01-25 20:50:46 +01:00
aggregation_regress Fixed #17260 -- Added time zone aware aggregation and lookups. 2013-02-16 09:19:04 +01:00
app_loading Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
backends Simplified MySQL version checking. 2013-02-18 21:46:26 +01:00
bash_completion [py3] Used compatible imports of StringIO. 2012-08-08 14:50:01 +02:00
bug639 Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
bug8245 Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
builtin_server Fixed typos in docs and comments 2013-01-29 10:55:55 -07:00
bulk_create Fixed #19351 -- SQLite bulk_insert of more than 500 single-field objs 2012-11-24 01:13:12 +02:00
cache Removed legacy ways of calling cache_page. 2012-12-29 21:59:07 +01:00
commands_sql Added tests for some sql_* management commands 2013-02-09 16:34:22 +01:00
comment_tests Cleaned up some lingering signals in the test suite that were causing spurious failures with Pypy and Postgres. 2013-02-08 12:12:03 -08:00
conditional_processing Fixed parse_http_date docstring and moved related tests 2012-09-26 21:10:17 +02:00
context_processors Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00
createsuperuser [py3] Used compatible imports of StringIO. 2012-08-08 14:50:01 +02:00
csrf_tests Fixed #15808 -- Added optional HttpOnly flag to the CSRF Cookie. 2013-02-07 09:48:08 +01:00
custom_columns_regress [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_managers_regress [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
datatypes [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
dates Fixed #17260 -- Added time zone aware aggregation and lookups. 2013-02-16 09:19:04 +01:00
datetimes Fixed #17260 -- Added time zone aware aggregation and lookups. 2013-02-16 09:19:04 +01:00
db_typecasts [py3] Fixed access to dict keys/values/items. 2012-08-07 12:00:22 +02:00
decorators Removed legacy ways of calling cache_page. 2012-12-29 21:59:07 +01:00
defaultfilters another failing test case for square brackets. 2012-12-03 12:11:32 +00:00
defer_regress Converted a couple of assertEquals -> assertEqual 2012-11-28 23:44:50 +02:00
delete_regress Fixed #19720 -- Oracle ordering related delete regression 2013-02-10 19:54:02 +02:00
dispatch Fixed #18676 -- Allow fast-path deletion of objects 2012-09-28 18:16:08 +03:00
expressions_regress Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
extra_regress Fixed #17260 -- Added time zone aware aggregation and lookups. 2013-02-16 09:19:04 +01:00
file_storage Fixed error message test assertions under Python 3.3 2013-02-04 18:00:19 +01:00
file_uploads Fixed #19036 -- Fixed base64 uploads decoding 2012-11-17 17:25:21 +01:00
fixtures_regress Don't rely on dictionary ordering in tests 2012-12-24 00:45:58 +00:00
forms Added HTML5 url input type 2013-01-28 22:11:00 +01:00
generic_inline_admin Added HTML5 url input type 2013-01-28 22:11:00 +01:00
generic_relations_regress Changed test assertion strategy used in 04d9730. 2013-02-07 16:51:27 -03:00
generic_views Fixed #17260 -- Added time zone aware aggregation and lookups. 2013-02-16 09:19:04 +01:00
get_or_create_regress Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
handlers Fixed #19519 again -- Regression in LiveServerTestCase after fd1279a4. 2013-01-01 10:14:11 +01:00
http_utils Added tests for conditional_content_removal. 2012-10-21 22:40:31 +02:00
httpwrappers Avoided firing the request_finished signal in tests. 2013-02-18 14:32:45 +01:00
i18n Improved input sanitizing with thousand separators 2013-02-15 16:37:52 +01:00
indexes Created special PostgreSQL text indexes when unique is True 2013-01-07 17:54:30 +01:00
initial_sql_regress Amended an SQL test fixture to not include an id value 2012-12-10 17:49:04 +01:00
inline_formsets [py3k] Silence many warnings while running the tests. 2012-09-07 13:17:34 -04:00
inspectdb Fixed #14305 -- Switched inspectdb to create unmanaged models. 2013-02-02 21:11:32 -03:00
introspection Fixed #19677 -- Introspection of recursive foreign keys under SQLite. 2013-01-28 10:17:56 +01:00
logging_tests Fixed #19637 -- Ensured AdminEmailHandler fails silently 2013-01-21 20:32:36 +01:00
m2m_regress Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
m2m_through_regress Use new TestCase methods for equality comparisons 2012-12-24 00:24:14 +00:00
mail Fixed #19382 -- Stopped smtp backend raising exception when already closed 2013-01-03 20:41:45 +01:00
managers_regress Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
many_to_one_regress Fixed #17541 -- Fixed non-saved/nullable fk querying 2013-01-08 21:02:38 +02:00
max_lengths Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
middleware Fixed #18558 -- Added url property to HttpResponseRedirect* 2013-02-13 10:29:32 +01:00
middleware_exceptions Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
model_fields Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
model_forms_regress Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
model_formsets_regress Fixed #17683 -- Make sure `BaseModelFormSet` respects defined widgets. 2013-02-05 05:39:35 -05:00
model_inheritance_regress Fixed #17260 -- Added time zone aware aggregation and lookups. 2013-02-16 09:19:04 +01:00
model_inheritance_select_related [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_permalink refs #12836 - Added a test to assure permalink wraps method attributes 2012-09-08 11:58:48 -04:00
model_regress Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
modeladmin [py3k] Silence many warnings while running the tests. 2012-09-07 13:17:34 -04:00
multiple_database Cleaned up some lingering signals in the test suite that were causing spurious failures with Pypy and Postgres. 2013-02-08 12:12:03 -08:00
nested_foreign_keys Fixed #16715 -- Fixed join promotion logic for nested nullable FKs 2012-08-25 14:14:45 +03:00
null_fk [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
null_fk_ordering [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
null_queries Fixed #17260 -- Added time zone aware aggregation and lookups. 2013-02-16 09:19:04 +01:00
one_to_one_regress Fixed #18153 -- Reverse OneToOne lookups on unsaved instances. 2012-10-09 21:36:35 +02:00
pagination Fixed a couple of stale tests caused by patch for #19462 2012-12-13 15:02:08 +02:00
queries Fixed #19837 -- Refactored split_exclude() join generation 2013-02-19 01:10:49 +02:00
queryset_pickle Fixed #17776 - DoesNotExist is not picklable 2012-06-22 13:28:15 +01:00
requests Removed try-except in django.db.close_connection() 2013-02-13 00:25:09 +02:00
resolve_url Fixed #15552 -- LOGIN_URL and LOGIN_REDIRECT_URL can take URLpattern names. 2012-09-08 16:58:35 -06:00
reverse_single_related Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
select_related_onetoone Updated deprecated test assertions 2013-01-08 19:08:15 +01:00
select_related_regress [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
serializers_regress Avoided firing the request_finished signal in tests. 2013-02-18 14:32:45 +01:00
servers Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
settings_tests Removed django.core.management.setup_environ and execute_manager. 2012-12-29 21:59:07 +01:00
signals_regress Cleaned up several test cases, to better isolate state. 2012-09-07 13:47:12 -04:00
signed_cookies_tests Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
signing Fixed #18852 -- Restored backwards compatibility 2012-08-25 22:22:32 +02:00
sites_framework [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
special_headers Ensured tests pass using custom PASSWORD_HASHERS. 2012-04-30 22:10:27 +03:00
staticfiles_tests Fixed #19715 -- Simplified findstatic output when verbosity set to 0 2013-02-01 11:55:05 +01:00
string_lookup [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
swappable_models Fixed #19401 -- Ensure that swappable model references are case insensitive. 2012-12-20 16:10:19 +08:00
syndication Fixed #9800 -- Allow "isPermaLink" attribute in <guid> element of an RSS item. 2013-02-06 05:28:05 -05:00
templates Fixed #19829 -- Fixed index lookups for NumPy arrays in templates. 2013-02-14 23:29:15 -08:00
test_client_regress Fixed Python 3.2 compatibility for a test. 2013-02-02 20:57:38 -08:00
test_runner Fixed #19833 -- Fixed import parameter encoding in get_runner 2013-02-16 13:31:13 +01:00
test_utils Deprecated undocumented warnings manipulation testing tools. 2013-01-31 14:57:45 -03:00
text Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
transactions_regress Fixed #19354 -- Do not assume usermodel.pk == usermodel.id 2012-11-29 21:45:43 +01:00
urlpatterns_reverse Fixed #18558 -- Added url property to HttpResponseRedirect* 2013-02-13 10:29:32 +01:00
utils Fixed #19693 -- Made truncatewords_html handle self-closing tags 2013-02-13 18:24:49 +01:00
version Fixed #19589 -- assertRegexpMatches is deprecated in Python 3.3. 2013-01-26 13:47:11 +01:00
views Avoided firing the request_finished signal in tests. 2013-02-18 14:32:45 +01:00
wsgi Fixed #17061 -- Factored out importing object from a dotted path 2013-02-04 16:38:25 +01:00
__init__.py