django/tests
Alasdair Nicol 65bd053f11 Fixed #26229 -- Improved check for model admin check admin.E124
Refs #22792
2016-03-01 08:20:14 -05:00
..
absolute_url_overrides Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
admin_autodiscover
admin_changelist Fixed #26175 -- Removed SHA1 password hashes in tests. 2016-02-06 08:47:21 -05:00
admin_checks Removed unneeded hint=None/obj=None in system check messages. 2016-02-12 13:01:25 -05:00
admin_custom_urls Fixed #26175 -- Removed SHA1 password hashes in tests. 2016-02-06 08:47:21 -05:00
admin_docs Fixed #26175 -- Removed SHA1 password hashes in tests. 2016-02-06 08:47:21 -05:00
admin_filters Changed gypsy to manouche in docs and tests. 2016-02-03 09:45:30 -05:00
admin_inlines Fixed #26175 -- Removed SHA1 password hashes in tests. 2016-02-06 08:47:21 -05:00
admin_ordering
admin_registration Refs #26022 -- Used context manager version of assertRaisesMessage in tests. 2016-01-29 13:03:39 -05:00
admin_scripts Fixed #25304 -- Allowed management commands to check if migrations are applied. 2016-02-12 13:34:56 -05:00
admin_utils Made @override_settings(ROOT_URLCONF=...) consistent. 2016-02-08 09:52:39 -05:00
admin_views Removed unneeded hint=None/obj=None in system check messages. 2016-02-12 13:01:25 -05:00
admin_widgets Made @override_settings(ROOT_URLCONF=...) consistent. 2016-02-08 09:52:39 -05:00
aggregation Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
aggregation_regress Fixed #26176 -- Fixed E123 flake8 warnings. 2016-02-05 15:11:07 -05:00
annotations Fixed #26176 -- Fixed E123 flake8 warnings. 2016-02-05 15:11:07 -05:00
app_loading Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
apps Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
auth_tests Removed obsolete test CreatesuperuserManagementCommandTestCase.test_nolocale. 2016-02-29 08:46:37 -05:00
backends Fixed #26177 -- Fixed a PostgreSQL crash with TIME_ZONE=None and USE_TZ=False. 2016-02-08 07:21:54 -05:00
base
bash_completion
basic Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
builtin_server
bulk_create Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
cache Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
check_framework Removed unneeded hint=None/obj=None in system check messages. 2016-02-12 13:01:25 -05:00
choices Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
conditional_processing
contenttypes_tests Fixed #26286 -- Prevented content type managers from sharing their cache. 2016-02-26 16:18:16 -05:00
context_processors
createsuperuser
csrf_tests Fixed #26094 -- Fixed CSRF behind a proxy (settings.USE_X_FORWARDED_PORT=True). 2016-01-20 18:19:24 -05:00
custom_columns Refs #26022 -- Used context manager version of assertRaisesMessage in tests. 2016-01-29 13:03:39 -05:00
custom_lookups Fixed #24629 -- Unified Transform and Expression APIs 2015-09-21 19:56:24 +10:00
custom_managers Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
custom_methods
custom_migration_operations Fixed #24093 -- Prevented MigrationWriter to write operation kwargs that are not explicitly deconstructed 2015-01-07 17:29:20 -07:00
custom_pk Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
datatypes Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
dates Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
datetimes
db_functions Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
db_typecasts
dbshell
decorators
defer
defer_regress Fixed #21608 -- Prevented logged out sessions being resurrected by concurrent requests. 2016-02-26 18:56:56 -05:00
delete Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
delete_regress
deprecation
dispatch
distinct_on_fields Refs #26022 -- Used context manager version of assertRaisesMessage in tests. 2016-01-29 13:03:39 -05:00
empty
expressions Fixed #24793 -- Unified temporal difference support. 2016-02-26 12:25:12 -05:00
expressions_case Refs #26071 -- Added test for __in lookup in a Case expression. 2016-01-13 08:56:36 -05:00
extra_regress
field_deconstruction Refs #24590 -- Ensured isolation between autodetector tests 2015-08-28 10:17:34 +10:00
field_defaults
field_subclassing
file_storage Fixed #23832 -- Added timezone aware Storage API. 2016-02-23 18:51:43 -05:00
file_uploads Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
files Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
fixtures Fixed #26144 -- Warned when dumping proxy model without concrete parent. 2016-02-04 19:40:12 -05:00
fixtures_model_package
fixtures_regress Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
flatpages_tests Fixed #26175 -- Removed SHA1 password hashes in tests. 2016-02-06 08:47:21 -05:00
force_insert_update
foreign_object Fixed #26153 -- Reallowed Q-objects in ForeignObject.get_extra_descriptor_filter(). 2016-02-11 08:59:43 -05:00
forms_tests Fixed #26267 -- Fixed BoundField to reallow slices of subwidgets. 2016-02-24 07:02:51 -05:00
from_db_value Refs #9619 -- Fixed failing test case 2015-06-17 20:07:00 +02:00
generic_inline_admin Made @override_settings(ROOT_URLCONF=...) consistent. 2016-02-08 09:52:39 -05:00
generic_relations Fixed #26179 -- Removed null assignment check for non-nullable foreign key fields. 2016-02-11 10:07:39 -05:00
generic_relations_regress Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
generic_views Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
get_earliest_or_latest Made multiline assertRaises* conform to flake8's E128 rule. 2016-02-04 19:14:10 -05:00
get_object_or_404 Refs #26022 -- Used context manager version of assertRaisesMessage in tests. 2016-01-29 13:03:39 -05:00
get_or_create Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
gis_tests Fixed #26266 -- Output the primary key in the GeoJSON serializer properties 2016-02-24 16:10:46 +01:00
handlers
http_utils
httpwrappers Made multiline assertRaises* conform to flake8's E128 rule. 2016-02-04 19:14:10 -05:00
humanize_tests
i18n Fixed #26232 -- Fixed Popen mocking environment in i18n tests 2016-02-23 20:06:18 +01:00
import_error_package
indexes
inline_formsets Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
inspectdb Fixed #14098 -- Prevented crash for introspection errors in inspectdb 2016-02-25 08:43:56 +01:00
introspection
invalid_models_tests Removed unneeded hint=None/obj=None in system check messages. 2016-02-12 13:01:25 -05:00
known_related_objects
logging_tests Fixed #25999 -- Removed promotion of RemovedInNextVersionWarning to loud by default. 2016-01-14 09:05:43 -05:00
lookup Fixed #25811 -- Added a helpful error when making _in queries across different databases. 2016-02-26 07:31:56 -05:00
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_regress
m2m_signals
m2m_through Refs #26092 -- Added @skipUnlessDBFeature to a test. 2016-01-21 08:05:55 -05:00
m2m_through_regress Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
m2o_recursive
mail Refs #26022 -- Used context manager version of assertRaisesMessage in tests. 2016-01-29 13:03:39 -05:00
managers_regress Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
many_to_many Fixed #26176 -- Fixed E123 flake8 warnings. 2016-02-05 15:11:07 -05:00
many_to_one Fixed #26179 -- Removed null assignment check for non-nullable foreign key fields. 2016-02-11 10:07:39 -05:00
many_to_one_null Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
max_lengths Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
messages_tests Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
middleware Fixed #26176 -- Fixed E123 flake8 warnings. 2016-02-05 15:11:07 -05:00
middleware_exceptions Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
migrate_signals
migration_test_data_persistence
migrations Fixed #26117 -- Consulted database routers in initial migration detection. 2016-02-25 09:56:00 -05:00
migrations2
model_fields Fixed #26186 -- Documented how app relative relationships of abstract models behave. 2016-02-29 22:07:05 -05:00
model_forms Fixed #24974 -- Fixed inheritance of formfield_callback for modelform_factory forms. 2016-02-26 12:27:27 -05:00
model_formsets Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
model_formsets_regress
model_inheritance Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
model_inheritance_regress Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
model_meta Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
model_options Fixed #26230 -- Made default_related_name affect related_query_name. 2016-02-27 08:48:32 -05:00
model_package
model_permalink
model_regress Refs #24007 -- Removed an apps.populate() call in model unpickling that can cause deadlocks. 2016-02-08 08:28:48 -05:00
model_validation Removed unneeded hint=None/obj=None in system check messages. 2016-02-12 13:01:25 -05:00
modeladmin Fixed #26229 -- Improved check for model admin check admin.E124 2016-03-01 08:20:14 -05:00
multiple_database Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
mutually_referential Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
nested_foreign_keys
no_models
null_fk
null_fk_ordering
null_queries Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
one_to_one Fixed #26179 -- Removed null assignment check for non-nullable foreign key fields. 2016-02-11 10:07:39 -05:00
or_lookups
order_with_respect_to Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
ordering
pagination Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
postgres_tests Fixed #26215 -- Fixed RangeField/ArrayField serialization with None values 2016-02-16 21:07:05 +01:00
prefetch_related Fixed #26264 -- Fixed prefetch_related() crashes with values_list(flat=True) 2016-02-26 19:26:15 -05:00
project_template Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix. 2016-01-25 12:39:06 -05:00
properties Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
proxy_model_inheritance
proxy_models Removed unneeded hint=None/obj=None in system check messages. 2016-02-12 13:01:25 -05:00
queries Fixed #26196 -- Made sure __in lookups use to_field as default. 2016-02-11 11:09:08 -05:00
queryset_pickle Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
raw_query Fixed flake8 typo. 2016-02-17 14:00:54 -05:00
redirects_tests
requests Fixed #26126 -- Fixed transient failure of test_max_age_expiration 2016-02-15 09:26:17 -05:00
requirements
reserved_names
resolve_url
responses Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
reverse_lookup Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
save_delete_hooks
schema Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
select_for_update Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
select_related Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
select_related_onetoone Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
select_related_regress
serializers Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
servers Refs #25684 -- Silenced logging output in servers tests. 2016-02-08 11:14:27 -05:00
sessions_tests Fixed #21608 -- Prevented logged out sessions being resurrected by concurrent requests. 2016-02-26 18:56:56 -05:00
settings_tests Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
shell Fixed #25680 -- Added django-admin shell --command option. 2016-01-06 18:43:41 -05:00
shortcuts
signals Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
signed_cookies_tests Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
signing Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
sitemaps_tests Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
sites_framework Removed unneeded hint=None/obj=None in system check messages. 2016-02-12 13:01:25 -05:00
sites_tests Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
staticfiles_tests Fixed #23832 -- Added timezone aware Storage API. 2016-02-23 18:51:43 -05:00
str Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
string_lookup
swappable_models
syndication_tests Made multiline assertRaises* conform to flake8's E128 rule. 2016-02-04 19:14:10 -05:00
template_backends
template_loader Fixed #26109 -- Raised a helpful error if loader.select_tamplate() is passed a string. 2016-01-25 18:37:02 -05:00
template_tests Fixed #26280 -- Fixed cached template loader crash when loading nonexistent template. 2016-02-26 08:02:10 -05:00
templates Changed `action="."` to `action=""` in tests and docs. 2016-01-21 13:59:15 -05:00
test_client Fixed #26175 -- Removed SHA1 password hashes in tests. 2016-02-06 08:47:21 -05:00
test_client_regress Fixed #26175 -- Removed SHA1 password hashes in tests. 2016-02-06 08:47:21 -05:00
test_discovery_sample Refs #25735 -- Made @tag decorator importable from django.test. 2016-02-19 14:21:00 -05:00
test_discovery_sample2
test_exceptions
test_runner Fixed #25735 -- Added support for test tags to DiscoverRunner. 2016-02-17 09:44:18 -05:00
test_utils Fixed #11665 -- Made TestCase check deferrable constraints after each test. 2016-02-13 06:53:39 -05:00
timezones Fixed #26175 -- Removed SHA1 password hashes in tests. 2016-02-06 08:47:21 -05:00
transaction_hooks
transactions Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
unmanaged_models Removed British/Austrialian word: whilist. 2015-12-31 14:29:52 -05:00
update Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
update_only_fields
urlpatterns_reverse Fixed #26175 -- Removed SHA1 password hashes in tests. 2016-02-06 08:47:21 -05:00
user_commands Fixed #26190 -- Returned handle() result from call_command 2016-02-23 09:12:12 +01:00
utils_tests Fixed #26269 -- Prohibited spaces in is_valid_ipv6_address(). 2016-02-25 18:52:50 -05:00
validation
validators Fixed #26204 -- Reallowed dashes in top-level domains for URLValidator. 2016-02-18 19:06:49 -05:00
version
view_tests Fixed #25653 -- Made --selenium run only the selenium tests. 2016-02-19 14:21:00 -05:00
wsgi Made @override_settings(ROOT_URLCONF=...) consistent. 2016-02-08 09:52:39 -05:00
.coveragerc Fixed #25209 -- Removed parallel=True coverage option 2015-08-04 09:32:12 -04:00
README.rst
runtests.py Fixed #25653 -- Made --selenium run only the selenium tests. 2016-02-19 14:21:00 -05:00
test_sqlite.py Added trailing comma. 2015-02-06 12:58:45 +01:00
urls.py

README.rst

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/.