django/tests
Daniel Wiesmann 201198136d [1.10.x] Fixed #27014 -- Fixed annotations with database functions on PostGIS.
Thanks Sean Mc Allister for providing a test.

Backport of 89f17e7caf from master
2016-08-15 14:23:48 -04:00
..
absolute_url_overrides
admin_autodiscover
admin_changelist [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
admin_checks
admin_custom_urls
admin_docs [1.10.x] Fixed #24931 -- Made namespaced RegexURLResolvers populate callback strings. 2016-06-18 10:39:49 -04:00
admin_filters [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
admin_inlines [1.10.x] Fixed #26729 -- Allowed overriding a form field's label/help_text in Form.__init__() for TabularInline. 2016-06-21 14:32:19 -04:00
admin_ordering
admin_registration
admin_scripts
admin_utils [1.10.x] Fixed admin_utils test failures due to translation updates. 2016-08-01 15:44:20 -04:00
admin_views [1.10.x] Fixed XSS in admin's add/change related popup. 2016-07-18 11:17:19 -04:00
admin_widgets [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
aggregation
aggregation_regress
annotations
app_loading
apps
auth_tests [1.10.x] Fixed #26997 -- Fixed checks crash with empty Meta.default_permissions. 2016-08-03 09:14:27 -04:00
backends Fixed #14415 -- Used the test database name in BaseDatabaseCreation.test_db_signature(). 2016-05-17 21:35:36 -04:00
base
bash_completion
basic [1.10.x] Fixed #26787 -- Documented deleting and reloading of model instance fields. 2016-06-21 15:25:16 -04:00
builtin_server
bulk_create [1.10.x] Fixed #27026 -- Fixed state initialization of bulk_create() objects if can_return_ids_from_bulk_insert. 2016-08-06 10:25:29 -04:00
cache [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
check_framework [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
choices
conditional_processing
contenttypes_tests [1.10.x] Refs #24067 -- Fixed contenttypes rename tests failures on Oracle. 2016-05-22 21:29:59 -04:00
context_processors
csrf_tests [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
custom_columns
custom_lookups
custom_managers [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
custom_methods
custom_migration_operations
custom_pk
datatypes
dates
datetimes Fixed #25774 -- Refactor datetime expressions into public API 2016-05-18 20:14:58 +10:00
db_functions Fixed #25774 -- Refactor datetime expressions into public API 2016-05-18 20:14:58 +10:00
db_typecasts
dbshell [1.10.x] Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name. 2016-06-03 12:42:41 -04:00
decorators [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
defer
defer_regress
delete
delete_regress
deprecation
dispatch
distinct_on_fields
empty
expressions Fixed #25774 -- Refactor datetime expressions into public API 2016-05-18 20:14:58 +10:00
expressions_case
extra_regress
field_deconstruction
field_defaults
field_subclassing
file_storage [1.10.x] Fixed #26896 -- Allowed a lazy base_url for FileSystemStorage. 2016-07-29 14:16:03 -04:00
file_uploads [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
files [1.10.x] Reverted "Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File." 2016-06-18 12:46:34 -04:00
fixtures
fixtures_model_package
fixtures_regress [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
flatpages_tests Refs #26601 -- Deprecated old-style middleware. 2016-05-17 07:22:26 -04:00
force_insert_update
foreign_object Fixed #26515 -- Fixed Query.trim_joins() for nested ForeignObjects. 2016-05-19 09:56:24 -04:00
forms_tests [1.10.x] Fixed #27037 -- Prevented required attribute on ClearableFileInput when initial data exists. 2016-08-12 13:59:23 -04:00
from_db_value
generic_inline_admin [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
generic_relations Refs #18599 -- Added a test for assigning a GenericForeignKey in Model.__init__(). 2016-05-13 21:26:48 -04:00
generic_relations_regress [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
generic_views [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
get_earliest_or_latest
get_object_or_404
get_or_create [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
gis_tests [1.10.x] Fixed #27014 -- Fixed annotations with database functions on PostGIS. 2016-08-15 14:23:48 -04:00
handlers Fixed #26601 -- Improved middleware per DEP 0005. 2016-05-17 07:22:22 -04:00
http_utils
httpwrappers [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
humanize_tests
i18n [1.10.x] Fixed #26945 -- Ensured that i18n_patterns returns a list 2016-07-24 17:20:40 +02:00
import_error_package
indexes [1.10.x] Fixed #26171 -- Made MySQL create an index on ForeignKeys with db_contraint=False. 2016-06-28 08:22:36 -04:00
inline_formsets [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
inspectdb
introspection
invalid_models_tests [1.10.x] Fixed #25292 -- Fixed crash in ManyToManyField.through_fields check. 2016-06-30 08:55:21 -04:00
known_related_objects
logging_tests [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
lookup
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_regress
m2m_signals
m2m_through
m2m_through_regress
m2o_recursive [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
mail [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
managers_regress [1.10.x] Fixed #26749 -- Preserved behavior of use_for_related_field during deprecation. 2016-07-11 13:34:18 -04:00
many_to_many [1.10.x] Refs #25550 -- Corrected deprecation message for assigning M2M relations. 2016-07-30 20:50:54 -04:00
many_to_one Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify models' default and base managers. 2016-05-17 12:07:22 +07:00
many_to_one_null [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
max_lengths
messages_tests [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
middleware [1.10.x] Fixed docs to refer to HSTS includeSubdomains as a directive. 2016-08-08 20:22:09 -04:00
middleware_exceptions [1.10.x] Fixed #26915 -- Fixed regression handling responses returned from view middleware. 2016-07-25 13:46:44 -04:00
migrate_signals Refs #24100 -- Fixed a test failure on MySQL related to non-transactional DDL. 2016-05-19 11:01:19 -04:00
migration_test_data_persistence
migrations [1.10.x] Fixed #27004 -- Made migrations consistency check ignore unapplied squashed migrations. 2016-08-05 18:11:38 -04:00
migrations2
model_fields [1.10.x] Fixed #26900 -- Fixed crash accessing deferred FileFields. 2016-07-16 08:47:29 -04:00
model_forms [1.10.x] Fixed #27001 -- Fixed a query count regression in ModelChoiceField with RadioSelect. 2016-08-03 10:53:42 -04:00
model_formsets [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
model_formsets_regress
model_inheritance Fixed #24305 -- Allowed overriding fields on abstract models. 2016-05-16 07:32:21 -04:00
model_inheritance_regress
model_meta
model_options
model_package
model_permalink
model_regress
model_validation Fixed #26421 -- Refactored ModelSignal to use Apps.lazy_model_operation() 2016-05-19 21:33:36 -04:00
modeladmin
multiple_database [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
mutually_referential
nested_foreign_keys
no_models
null_fk [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
null_fk_ordering
null_queries
one_to_one [1.10.x] Fixed #26667 -- Fixed a regression in queries on a OneToOneField that has to_field and primary_key=True. 2016-06-04 09:15:10 -04:00
or_lookups
order_with_respect_to
ordering
pagination
postgres_tests [1.10.x] Fixed #26949 -- Fixed crash of disabled forms.JSONField. 2016-07-27 08:43:07 -04:00
prefetch_related [1.10.x] Fixed #26916 -- Fixed prefetch_related when using a cached_property as to_attr. 2016-07-19 16:09:23 -04:00
project_template Fixed #26601 -- Improved middleware per DEP 0005. 2016-05-17 07:22:22 -04:00
properties
proxy_model_inheritance
proxy_models [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
queries [1.10.x] Fixed #26983 -- Fixed isnull filtering on ForeignKey with to_field 2016-08-04 16:07:11 +02:00
queryset_pickle
raw_query [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
redirects_tests Refs #26601 -- Deprecated old-style middleware. 2016-05-17 07:22:26 -04:00
requests [1.10.x] Fixed #27005 -- Fixed crash if request.META[''CONTENT_LENGTH']=''. 2016-08-03 14:01:08 -04:00
requirements
reserved_names
resolve_url
responses
reverse_lookup
save_delete_hooks
schema [1.10.x] Fixed #26889 -- Fixed missing PostgreSQL index in SchemaEditor.add_field(). 2016-07-13 21:55:25 -04:00
select_for_update
select_related [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
select_related_onetoone
select_related_regress
serializers [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
servers [1.10.x] Fixed flake8 2.6 warnings. 2016-06-16 09:33:02 -04:00
sessions_tests [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
settings_tests [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
shell
shortcuts
signals [1.10.x] Fixed #26778 -- Fixed ModelSignal.connect() weak argument. 2016-06-18 20:45:58 -04:00
signed_cookies_tests [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
signing
sitemaps_tests
sites_framework
sites_tests [1.10.x] Fixed #26716 -- Made CurrentSiteMiddleware compatible with new-style middleware. 2016-06-07 09:46:58 -04:00
staticfiles_tests [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
str
string_lookup
swappable_models [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
syndication_tests
template_backends [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
template_loader
template_tests [1.10.x] Fixed #26923 -- Fixed template_tests with numpy < 1.9.0. 2016-07-21 13:01:10 -04:00
templates
test_client [1.10.x] Fixed #27027 -- Restored Client.force_login() defaulting to the first auth backend. 2016-08-06 08:42:17 -04:00
test_client_regress [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
test_discovery_sample
test_discovery_sample2
test_exceptions
test_runner [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
test_utils [1.10.x] Fixed #26922 -- Fixed SimpleTestCase.assertHTMLEqual() crash on Python 3.5+. 2016-07-21 17:06:48 -04:00
timezones [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
transaction_hooks Fixed #26627 -- Fixed on_commit callbacks execution order when callbacks make transactions. 2016-05-18 09:09:48 -04:00
transactions
unmanaged_models
update
update_only_fields
urlpatterns_reverse [1.10.x] Fixed #26888 -- Fixed concurrency issue in URL resolver. 2016-07-14 14:42:23 -04:00
user_commands [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
utils_tests [1.10.x] Fixed #26988 -- Improved/clarified User.is_authenticated/anonymous compatibility. 2016-08-02 11:26:40 -04:00
validation [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
validators [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
version
view_tests [1.10.x] Fixed #26973 -- Fixed views.static.serve() crash with show_indexes enabled. 2016-08-10 11:27:29 -04:00
wsgi
.coveragerc
README.rst
runtests.py Fixed #26601 -- Improved middleware per DEP 0005. 2016-05-17 07:22:22 -04:00
test_sqlite.py
urls.py

To run the test suite::

    $ cd tests
    $ pip install -r requirements/py3.txt  # or py2.txt
    $ PYTHONPATH=..:$PYTHONPATH ./runtests.py

For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.