django/tests
Will Ayd 09530e61a0 Fixed #28869 -- Made tagged test classes and methods inherit tags from parents. 2018-01-08 20:57:33 -05:00
..
absolute_url_overrides
admin_autodiscover
admin_changelist
admin_checks
admin_custom_urls
admin_docs
admin_filters
admin_inlines
admin_ordering
admin_registration
admin_scripts
admin_utils
admin_views
admin_widgets
aggregation
aggregation_regress Used assertRaisesMessage() to test Django's error messages. 2017-07-29 19:07:23 -04:00
annotations
app_loading
apps
auth_tests
backends
base
bash_completion
basic
builtin_server Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
bulk_create
cache
check_framework
choices
conditional_processing
contenttypes_tests Fixed #28313 -- Added model name max length check of 100 characters in contrib.contentttypes. 2017-06-26 18:12:35 -04:00
context_processors
csrf_tests
custom_columns Used assertRaisesMessage() to test Django's error messages. 2017-07-29 19:07:23 -04:00
custom_lookups Refs #27985 -- Reallowed using __exact=None as an alias for __isnull=True if a custom lookup class with lookup_name != None is registered as the exact lookup. 2017-12-12 17:11:58 -10:00
custom_managers
custom_methods
custom_migration_operations
custom_pk
datatypes Refs #23919, #27778 -- Removed obsolete mentions of unicode. 2017-01-26 08:19:27 -05:00
dates
datetimes
db_functions
db_typecasts
db_utils
dbshell
decorators
defer
defer_regress
delete Fixed incorrect integer division in DeletionTests.test_large_delete_related. 2017-10-02 10:11:20 -04:00
delete_regress
deprecation
dispatch
distinct_on_fields
empty
expressions Fixed #28926 -- Fixed loss of precision of big DurationField values on SQLite and MySQL. 2017-12-28 17:35:41 -05:00
expressions_case
expressions_window
extra_regress
field_deconstruction
field_defaults
field_subclassing Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
file_storage
file_uploads
files Fixed #28776 -- Fixed a/an/and typos in docs and comments. 2017-11-06 22:41:03 -05:00
filtered_relation
fixtures
fixtures_model_package
fixtures_regress
flatpages_tests
force_insert_update
foreign_object
forms_tests
from_db_value
generic_inline_admin
generic_relations Fixed #14642 -- Fixed generic inline formsets crash when using save_as_new=True. 2017-12-30 11:38:11 -05:00
generic_relations_regress Refs #28856 -- Added test for caching of a GenericForeignKey pointing to a model that uses more than one level of MTI. 2017-12-08 14:06:28 -05:00
generic_views
get_earliest_or_latest
get_object_or_404
get_or_create
gis_tests
handlers
httpwrappers
humanize_tests
i18n
import_error_package
indexes
inline_formsets
inspectdb
introspection Fixed #28893 -- Removed unnecessary dict.items() calls. 2017-12-06 17:17:59 -05:00
invalid_models_tests
known_related_objects Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. 2017-06-01 19:08:59 -04:00
logging_tests
lookup
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_regress
m2m_signals
m2m_through
m2m_through_regress
m2o_recursive Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
mail
managers_regress Fixed #28776 -- Fixed a/an/and typos in docs and comments. 2017-11-06 22:41:03 -05:00
many_to_many Fixed typo in tests/many_to_many/tests.py. 2017-10-31 10:21:02 -04:00
many_to_one Fixed #27710 -- Made Model.save() invalidate cached, stale relations after a primary key assignment. 2017-11-09 11:40:34 -05:00
many_to_one_null
max_lengths
messages_tests
middleware
middleware_exceptions
migrate_signals
migration_test_data_persistence
migrations Fixed #25817 -- Made RenameField repoint to_field/to_fields references. 2017-12-30 14:59:22 -05:00
migrations2
model_fields
model_forms Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy. 2017-08-31 09:34:44 -04:00
model_formsets
model_formsets_regress
model_indexes
model_inheritance
model_inheritance_regress
model_meta
model_options
model_package
model_regress
modeladmin
multiple_database
mutually_referential
nested_foreign_keys
no_models
null_fk
null_fk_ordering
null_queries
one_to_one
or_lookups
order_with_respect_to
ordering Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a filtered subquery that uses nulls_first/nulls_last. 2017-11-27 11:35:44 -05:00
pagination
postgres_tests
prefetch_related
project_template
properties
proxy_model_inheritance
proxy_models
queries
queryset_pickle Removed unnecessary trailing commas and spaces in various code. 2017-12-28 21:07:29 +01:00
raw_query
redirects_tests Used assertRaisesMessage() to test Django's error messages. 2017-07-29 19:07:23 -04:00
requests
requirements
reserved_names
resolve_url
responses Fixed #28989 -- Fixed HttpResponse.delete_cookie() for cookies that use __Secure/Host prefixes. 2018-01-08 12:32:47 -05:00
reverse_lookup
save_delete_hooks
schema
select_for_update
select_related
select_related_onetoone
select_related_regress
serializers
servers
sessions_tests Fixed #28965 -- Updated Set-Cookie's Expires date format to follow RFC 7231. 2018-01-02 11:22:59 -05:00
settings_tests Used assertRaisesMessage() to test Django's error messages. 2017-07-29 19:07:23 -04:00
shell
shortcuts
signals
signed_cookies_tests
signing Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). 2017-02-09 09:03:47 -05:00
sitemaps_tests
sites_framework
sites_tests
staticfiles_tests Removed unnecessary trailing commas and spaces in various code. 2017-12-28 21:07:29 +01:00
str
string_lookup
swappable_models Refs #27790 -- Reverted "Removed available_apps on TestCase subclasses." 2017-01-28 10:01:13 -05:00
syndication_tests
template_backends Fixed spelling of "nonexistent". 2017-02-03 08:01:45 -05:00
template_loader
template_tests Refs #28721 -- Added test for variations of 'inf'/'infinity' as a template variable names. 2017-10-21 20:55:26 -04:00
templates
test_client
test_client_regress
test_exceptions
test_runner
test_runner_apps
test_utils
timezones
transaction_hooks
transactions
unmanaged_models
update
update_only_fields
urlpatterns
urlpatterns_reverse Refs #27648 -- Removed support for (iLmsu) regex groups in url() patterns. 2017-09-22 12:51:18 -04:00
user_commands
utils_tests Refs #28965 -- Deprecated unused django.utils.http.cookie_date(). 2018-01-02 11:23:04 -05:00
validation
validators
version
view_tests
wsgi
.coveragerc
README.rst
runtests.py
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
    $ ./runtests.py

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