django/tests
2020-02-05 09:21:38 +01:00
..
absolute_url_overrides
admin_autodiscover
admin_changelist Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
admin_checks
admin_custom_urls
admin_default_site
admin_docs
admin_filters
admin_inlines
admin_ordering
admin_registration
admin_scripts
admin_utils
admin_views Refs #31117 -- Made various tests properly handle unexpected databases aliases. 2020-01-20 14:39:02 +01:00
admin_widgets
aggregation Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
aggregation_regress Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
annotations
app_loading
apps
asgi
async
auth_tests Replaced assertWarns() with SimpleTestCase.assertWarnsMessage() in tests. 2020-01-30 11:19:50 +01:00
backends Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
base
bash_completion
basic Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
builtin_server
bulk_create
cache Replaced assertWarns() with SimpleTestCase.assertWarnsMessage() in tests. 2020-01-30 11:19:50 +01:00
check_framework
conditional_processing
constraints
contenttypes_tests
context_processors
csrf_tests
custom_columns
custom_lookups
custom_managers
custom_methods
custom_migration_operations
custom_pk
datatypes
dates Fixed field default in dates tests. 2020-01-18 20:07:25 +01:00
datetimes
db_functions Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
db_typecasts
db_utils Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
dbshell
decorators
defer
defer_regress
delete Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
delete_regress
deprecation
dispatch
distinct_on_fields
empty
empty_models
expressions Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
expressions_case Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
expressions_window Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
extra_regress
field_deconstruction
field_defaults
field_subclassing
file_storage
file_uploads
files
filtered_relation
fixtures
fixtures_model_package
fixtures_regress
flatpages_tests Fixed #22261 -- Fixed resolving namespaced URLs for flatpages. 2020-01-28 13:14:23 +01:00
force_insert_update
foreign_object Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
forms_tests
from_db_value
generic_inline_admin
generic_relations Fixed #31190 -- Fixed prefetch_related() crash for GenericForeignKey with custom ContentType foreign key. 2020-01-22 07:54:16 +01:00
generic_relations_regress Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
generic_views
get_earliest_or_latest
get_object_or_404
get_or_create
gis_tests Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
handlers
httpwrappers
humanize_tests
i18n
import_error_package
indexes Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
inline_formsets
inspectdb
introspection Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
invalid_models_tests Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
known_related_objects
logging_tests
lookup Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_regress
m2m_signals
m2m_through
m2m_through_regress
m2o_recursive
mail
managers_regress
many_to_many
many_to_one Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
many_to_one_null
max_lengths
messages_tests Fixed #27604 -- Used the cookie signer to sign message cookies. 2020-02-04 08:05:02 +01:00
middleware
middleware_exceptions
migrate_signals
migration_test_data_persistence
migrations Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
migrations2
model_enums
model_fields Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
model_forms Refs #26813 -- Added test for ModelChoiceField.choices when using RadioSelect widget. 2020-02-05 09:21:38 +01:00
model_formsets
model_formsets_regress
model_indexes Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
model_inheritance
model_inheritance_regress
model_meta Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
model_options
model_package
model_regress
modeladmin
multiple_database Refs #31117 -- Made various tests properly handle unexpected databases aliases. 2020-01-20 14:39:02 +01:00
mutually_referential
nested_foreign_keys
no_models
null_fk
null_fk_ordering
null_queries
one_to_one
or_lookups
order_with_respect_to
ordering Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
pagination
postgres_tests Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
prefetch_related Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
project_template
properties
proxy_model_inheritance
proxy_models
queries Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
queryset_pickle
raw_query
redirects_tests
requests Fixed #30997 -- Deprecated HttpRequest.is_ajax(). 2020-01-27 08:54:32 +01:00
requirements
reserved_names
resolve_url
responses
reverse_lookup
save_delete_hooks
schema Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
select_for_update
select_related
select_related_onetoone
select_related_regress
serializers
servers
sessions_tests
settings_tests
shell
shortcuts
signals
signed_cookies_tests
signing Added tests for signing non-string values and updated docs. 2020-01-30 11:58:39 +01:00
sitemaps_tests
sites_framework
sites_tests
staticfiles_tests
str
string_lookup
swappable_models
syndication_tests
template_backends
template_loader
template_tests
templates
test_client
test_client_regress
test_exceptions
test_runner Refs #31117 -- Made various tests properly handle unexpected databases aliases. 2020-01-20 14:39:02 +01:00
test_runner_apps
test_utils Refs #31117 -- Made various tests properly handle unexpected databases aliases. 2020-01-20 14:39:02 +01:00
timezones
transaction_hooks
transactions
unmanaged_models
update
update_only_fields
urlpatterns
urlpatterns_reverse
user_commands
utils_tests Refs #27468 -- Added algorithm parameter to django.utils.crypto.salted_hmac(). 2020-01-27 12:42:21 +01:00
validation
validators
version
view_tests Refs #30997 -- Removed HttpRequest.is_ajax() usage. 2020-01-27 08:52:40 +01:00
wsgi
.coveragerc
README.rst
runtests.py
test_sqlite.py
urls.py

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

    $ cd tests
    $ python -m pip install -e ..
    $ python -m pip install -r requirements/py3.txt
    $ ./runtests.py

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