django/tests
Tim Graham 740f63a3df Refs #26263 -- Removed deprecated Context.has_key(). 2017-01-17 20:52:03 -05:00
..
absolute_url_overrides
admin_autodiscover
admin_changelist Refs #25135 -- Removed support for the contrib.admin allow_tags attribute. 2017-01-17 20:52:01 -05:00
admin_checks Fixed #26961 -- Made admin checks run when DEBUG=False. 2017-01-10 07:02:13 -05:00
admin_custom_urls
admin_docs Fixed #26621 -- Corrected simplify_regex()'s handling of named capture groups. 2017-01-03 13:55:11 -05:00
admin_filters
admin_inlines Fixed #15667 -- Added template-based widget rendering. 2016-12-27 17:50:10 -05:00
admin_ordering
admin_registration
admin_scripts Fixed #27626 -- Moved MEDIA_URL/STATIC_URL validation to a system check. 2016-12-23 10:55:00 -05:00
admin_utils
admin_views Refs #25135 -- Removed support for the contrib.admin allow_tags attribute. 2017-01-17 20:52:01 -05:00
admin_widgets Fixed #15667 -- Added template-based widget rendering. 2016-12-27 17:50:10 -05:00
aggregation Fixed tests that rely on hardcoded id with keepdb 2017-01-14 15:41:49 +11:00
aggregation_regress Fixed #25307 -- Fixed QuerySet.annotate() crash with conditional expressions. 2017-01-16 10:03:15 -05:00
annotations
app_loading
apps
auth_tests Fixed #27518 -- Prevented possibie password reset token leak via HTTP Referer header. 2017-01-13 09:17:54 -05:00
backends Refs #27683 -- Allowed setting isolation level in DATABASES ['OPTIONS'] on MySQL. 2017-01-17 11:16:15 -05:00
base
bash_completion
basic Fixed #27718 -- Added QuerySet.union(), intersection(), difference(). 2017-01-14 08:32:07 -05:00
builtin_server
bulk_create
cache
check_framework Fixed #25415 -- Made DiscoverRunner run system checks. 2016-12-29 12:33:24 -05:00
choices
conditional_processing
contenttypes_tests Fixed #27709 -- Fixed get_for_models() for proxies with an empty cache. 2017-01-13 10:02:01 -05:00
context_processors
csrf_tests
custom_columns
custom_lookups
custom_managers
custom_methods
custom_migration_operations
custom_pk
datatypes
dates
datetimes
db_functions
db_typecasts
dbshell
decorators Refs #20223 -- Removed deprecated django.utils.functional.allow_lazy(). 2017-01-17 20:52:02 -05:00
defer
defer_regress
delete
delete_regress
deprecation Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
dispatch Refs #24205 -- Removed Signal.disconnect()'s weak argument. 2017-01-17 14:09:28 -05:00
distinct_on_fields
empty
expressions Fixed #27149 -- Added Subquery and Exists database expressions. 2017-01-14 09:12:24 -05:00
expressions_case Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. 2017-01-17 20:52:02 -05:00
extra_regress
field_deconstruction
field_defaults
field_subclassing
file_storage Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
file_uploads
files
fixtures Removed available_apps on TestCase subclasses. 2017-01-13 08:50:03 -05:00
fixtures_model_package
fixtures_regress Made contenttypes and auth apps unavailable when not necessary in tests. 2017-01-13 08:50:03 -05:00
flatpages_tests Refs #26601 -- Deprecated old-style middleware. 2016-05-17 07:22:26 -04:00
force_insert_update
foreign_object
forms_tests Refs #24219 -- Removed django.forms.extras per deprecation timeline. 2017-01-17 14:09:28 -05:00
from_db_value
generic_inline_admin
generic_relations
generic_relations_regress
generic_views Imported specific models in a few tests that didn't. 2016-12-08 11:14:15 -05:00
get_earliest_or_latest
get_object_or_404
get_or_create
gis_tests Refs #25773 -- Removed deprecated geos.MultiPolygon.cascaded_union property. 2017-01-17 20:52:02 -05:00
handlers
httpwrappers Fixed #27640 -- Fixed HttpResponse's __repr__() without a 'Content-Type' header. 2016-12-27 14:42:58 -05:00
humanize_tests
i18n Fixed #24423 -- Reorganized i18n tag tests. 2017-01-06 10:33:07 -05:00
import_error_package
indexes Refs #27558 -- Isolated indexes test on MySQL. 2016-12-15 13:31:08 -05:00
inline_formsets
inspectdb Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. 2017-01-17 20:52:02 -05:00
introspection Refs #19884 -- Removed DatabaseFeatures.can_introspect_max_length. 2016-12-19 16:16:11 -05:00
invalid_models_tests Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. 2017-01-17 20:52:02 -05:00
known_related_objects
logging_tests Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
lookup Fixed #27498 -- Fixed filtering on annotated DecimalField on SQLite. 2016-12-24 10:38:48 -05:00
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_regress Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
m2m_signals
m2m_through
m2m_through_regress Fixed typo in m2m_through_regress test methods. 2016-12-23 15:32:30 -05:00
m2o_recursive
mail Fixed #27696 -- Measured email long lines on encoded content 2017-01-06 16:04:59 +01:00
managers_regress Removed GeoManager and GeoQuerySet per deprecation timeline. 2017-01-17 20:51:56 -05:00
many_to_many Refs #25550 -- Removed support for direct assignment to the reverse side of a related set. 2017-01-17 20:52:01 -05:00
many_to_one Refs #25550 -- Removed support for direct assignment to the reverse side of a related set. 2017-01-17 20:52:01 -05:00
many_to_one_null
max_lengths
messages_tests Fixed #27688 -- Made messages' add_message() request check use ducktyping. 2017-01-09 18:03:10 -05:00
middleware
middleware_exceptions
migrate_signals
migration_test_data_persistence
migrations Refs #25604 -- Removed makemigrations --exit option per deprecation timeline. 2017-01-17 20:52:01 -05:00
migrations2
model_fields Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. 2017-01-17 20:52:02 -05:00
model_forms Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. 2017-01-17 20:52:02 -05:00
model_formsets Fixed #27416 -- Prevented ModelFormSet from creating objects for invalid PKs in data. 2016-12-06 13:06:58 -05:00
model_formsets_regress
model_indexes
model_inheritance
model_inheritance_regress Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. 2017-01-17 20:52:02 -05:00
model_meta
model_options
model_package
model_permalink
model_regress
modeladmin Fixed #26632 -- Skipped admin.E111 list_display_links check if get_list_display() is overridden. 2016-12-22 09:32:11 -05:00
multiple_database Removed available_apps on TestCase subclasses. 2017-01-13 08:50:03 -05:00
mutually_referential
nested_foreign_keys
no_models Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
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
or_lookups
order_with_respect_to
ordering Fixed #13312 -- Allowed specifying the order of null fields in queries. 2016-12-08 09:54:07 -05:00
pagination
postgres_tests Refs #25809 -- Made a few late review comments for BrinIndex. 2017-01-16 13:23:20 -05:00
prefetch_related Made prefetch_related SQL inspection tests less brittle. 2017-01-09 11:18:32 -05:00
project_template
properties Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
proxy_model_inheritance
proxy_models Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSequenceEqual(). 2016-09-13 10:07:37 -04:00
queries Fixed #27718 -- Added QuerySet.union(), intersection(), difference(). 2017-01-14 08:32:07 -05:00
queryset_pickle
raw_query
redirects_tests
requests Refs #17235 -- Made MultiPartParser leave request.POST immutable. 2016-12-07 08:28:46 -05:00
requirements Require Jinja2 >= 2.9.2 in test requirements. 2017-01-08 18:43:24 +01:00
reserved_names Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
resolve_url
responses Fixed #27640 -- Fixed HttpResponse's __repr__() without a 'Content-Type' header. 2016-12-27 14:42:58 -05:00
reverse_lookup
save_delete_hooks
schema Fixed #27458 -- Fixed invalid sequence/index names when using "USER"."TABLE" db_table on Oracle. 2016-12-30 17:11:12 -05:00
select_for_update
select_related
select_related_onetoone Fixed #27594 -- Fixed select_related() with reverse self-referential OneToOneField. 2016-12-14 07:46:27 -05:00
select_related_regress
serializers Refs #27546 -- Tested some __repr__() methods. 2016-12-01 08:09:38 -05:00
servers
sessions_tests
settings_tests Fixed #27626 -- Moved MEDIA_URL/STATIC_URL validation to a system check. 2016-12-23 10:55:00 -05:00
shell Fixed #27721 -- Added interface name to shell's IPython/bython import error. 2017-01-12 13:12:21 -05:00
shortcuts
signals Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
signed_cookies_tests
signing
sitemaps_tests
sites_framework
sites_tests
staticfiles_tests Fixed #24452 -- Fixed HashedFilesMixin correctness with nested paths. 2017-01-11 09:21:29 -05:00
str
string_lookup
swappable_models Removed available_apps on TestCase subclasses. 2017-01-13 08:50:03 -05:00
syndication_tests Refs #13110 -- Removed SyndicationFeed.add_item()'s enclosure argument. 2017-01-17 20:52:01 -05:00
template_backends Fixed #27258 -- Prohibited django.Template.render() with non-dict context. 2016-12-28 16:03:20 -05:00
template_loader
template_tests Refs #26263 -- Removed deprecated Context.has_key(). 2017-01-17 20:52:03 -05:00
templates Fixed #27313 -- Allowed overriding admin popup response template. 2016-12-14 18:10:56 -05:00
test_client Refs #27184 -- Fixed unclosed file ResourceWarning in test_client test. 2016-12-12 12:41:38 -05:00
test_client_regress Refs #23960 -- Removed the host parameter for SimpleTestCase.assertRedirects(). 2017-01-17 14:09:28 -05:00
test_discovery_sample
test_discovery_sample2
test_exceptions
test_runner Refs #25415 -- Fixed/silenced check errors in Django's test suite. 2016-12-28 15:16:10 -05:00
test_utils Refs #25190 -- Removed callable_obj parameter to assertRaisesMessages(). 2017-01-17 20:52:01 -05:00
timezones Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
transaction_hooks
transactions
unmanaged_models
update
update_only_fields
urlpatterns_reverse Refs #21927 -- Removed include()'s app_name argument per deprecation timeline. 2017-01-17 20:52:00 -05:00
user_commands Skipped unnecessary system checks in user_commands test. 2017-01-09 17:23:24 -05:00
utils_tests Fixed #27699 -- Added negative timedelta support to parse_duration() 2017-01-14 11:17:54 +01:00
validation
validators
version Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
view_tests Fixed #27418 -- Fixed occasional missing plural forms in JavaScriptCatalog. 2016-12-14 18:20:30 -05:00
wsgi
.coveragerc
README.rst
runtests.py Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. 2017-01-17 20:52:02 -05:00
test_sqlite.py
urls.py

README.rst

To run the test suite, first, create and activate a virtual environment. Then
install some requirements and run the tests::

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

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