django/tests
Tim Graham fe2d288434 Fixed #27722 -- Reallowed using django.Template in {% include %}. 2017-02-11 06:51:57 -05:00
..
absolute_url_overrides Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
admin_autodiscover Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_changelist Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
admin_checks
admin_custom_urls Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
admin_docs Fixed #27781 -- Made simplify_regex() remove outstanding '?' characters. 2017-01-26 18:36:34 -05:00
admin_filters Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
admin_inlines Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
admin_ordering
admin_registration
admin_scripts
admin_utils
admin_views Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
admin_widgets
aggregation Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
aggregation_regress
annotations Fixed #27800 -- Fixed QuerySet.annotate(Length(...)).distinct() crash. 2017-01-31 18:45:55 -05:00
app_loading Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. 2017-01-20 08:01:02 -05:00
apps
auth_tests Fixed #27815 -- Made LoginView pass the request kwarg to AuthenticationForm. 2017-02-07 08:54:21 -05:00
backends
base
bash_completion
basic Converted usage of ugettext* functions to their gettext* aliases 2017-02-07 09:04:04 +01:00
builtin_server
bulk_create
cache Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). 2017-02-09 09:03:47 -05:00
check_framework Added multi_db=True to test cases that access the 'other' db connection. 2017-02-10 08:19:32 -05:00
choices
conditional_processing
contenttypes_tests
context_processors
csrf_tests Refs #23919 -- Assumed request COOKIES and META are str 2017-01-30 14:13:29 +01:00
custom_columns
custom_lookups
custom_managers Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
custom_methods Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
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
datatypes
dates
datetimes
db_functions
db_typecasts
dbshell
decorators
defer
defer_regress Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
delete Refs #23919 -- Removed most of remaining six usage 2017-01-18 21:33:28 +01:00
delete_regress
deprecation Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
dispatch
distinct_on_fields Refs #23919 -- Removed str_prefix usage 2017-01-20 15:43:28 +01:00
empty Fixed #23620 -- Used more specific assertions in the Django test suite. 2014-11-03 11:56:37 -05:00
expressions
expressions_case Refs #23919 -- Removed misc references to Python 2. 2017-01-21 20:02:00 -05:00
extra_regress Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments. 2017-02-01 11:41:56 -05:00
field_deconstruction
field_defaults
field_subclassing
file_storage Fixed spelling of "nonexistent". 2017-02-03 08:01:45 -05:00
file_uploads
files
fixtures
fixtures_model_package Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
fixtures_regress
flatpages_tests
force_insert_update
foreign_object Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
forms_tests
from_db_value Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
generic_inline_admin
generic_relations
generic_relations_regress
generic_views
get_earliest_or_latest
get_object_or_404
get_or_create Refs #23919 -- Removed unneeded str() calls 2017-01-20 14:13:55 +01:00
gis_tests
handlers Fixed running TransactionsPerRequestTests in isolation. 2017-02-04 14:19:52 -05:00
httpwrappers
humanize_tests Converted usage of ugettext* functions to their gettext* aliases 2017-02-07 09:04:04 +01:00
i18n
import_error_package Refactored tests that rely on an ImportError for Python 3.5 compatibility 2015-02-03 18:30:46 -05:00
indexes
inline_formsets
inspectdb
introspection Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. 2017-01-20 08:17:20 -05:00
invalid_models_tests
known_related_objects Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
logging_tests
lookup
m2m_and_m2o Refs #23919, #27778 -- Removed obsolete mentions of unicode. 2017-01-26 08:19:27 -05:00
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_regress
m2m_signals Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
m2m_through
m2m_through_regress
m2o_recursive
mail
managers_regress Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
many_to_many Refs #23919, #27778 -- Removed obsolete mentions of unicode. 2017-01-26 08:19:27 -05:00
many_to_one Converted usage of ugettext* functions to their gettext* aliases 2017-02-07 09:04:04 +01:00
many_to_one_null Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
max_lengths
messages_tests
middleware Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). 2017-02-09 09:03:47 -05:00
middleware_exceptions Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-01-19 08:39:46 +01:00
migrate_signals
migration_test_data_persistence Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
migrations Added multi_db=True to test cases that access the 'other' db connection. 2017-02-10 08:19:32 -05:00
migrations2 Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
model_fields
model_forms Fixed #27758 -- Reallowed AdvancedModelIterator pattern after template widget rendering. 2017-01-31 09:41:51 -05:00
model_formsets
model_formsets_regress
model_indexes Refs #26709 -- Added type check for models.Index fields argument. 2016-08-16 09:53:50 -04:00
model_inheritance
model_inheritance_regress
model_meta
model_options Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
model_package
model_permalink
model_regress
modeladmin
multiple_database Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments. 2017-02-01 11:41:56 -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 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
null_fk
null_fk_ordering Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
null_queries
one_to_one
or_lookups Refs #23919 -- Removed unneeded force_str calls 2017-01-20 08:44:31 +01:00
order_with_respect_to
ordering Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
pagination
postgres_tests Fixed #26903 -- Fixed __contains lookup for Date/DateTimeRangeField. 2017-02-07 12:46:18 -05:00
prefetch_related Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
project_template Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. 2017-01-20 08:01:02 -05:00
properties Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
proxy_model_inheritance
proxy_models
queries
queryset_pickle Converted usage of ugettext* functions to their gettext* aliases 2017-02-07 09:04:04 +01:00
raw_query
redirects_tests
requests
requirements
reserved_names Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
resolve_url
responses
reverse_lookup
save_delete_hooks
schema
select_for_update Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. 2017-01-20 08:17:20 -05:00
select_related Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
select_related_onetoone
select_related_regress Refs #23919 -- Removed six.<various>_types usage 2017-01-18 20:18:46 +01:00
serializers Fixed #27742 -- Reverted "Fixed #24607 -- Serialized natural keys in multi-table inheritance models." 2017-02-11 06:34:59 -05:00
servers
sessions_tests
settings_tests
shell Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. 2017-01-20 08:17:20 -05:00
shortcuts Fixed #25978 -- Deprecated shorcuts.render_to_response(). 2017-02-11 05:49:04 -05:00
signals
signed_cookies_tests
signing
sitemaps_tests Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). 2017-02-09 09:03:47 -05:00
sites_framework
sites_tests
staticfiles_tests
str
string_lookup Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
swappable_models Refs #27790 -- Reverted "Removed available_apps on TestCase subclasses." 2017-01-28 10:01:13 -05:00
syndication_tests
template_backends
template_loader
template_tests Fixed #27722 -- Reallowed using django.Template in {% include %}. 2017-02-11 06:51:57 -05:00
templates
test_client
test_client_regress
test_discovery_sample
test_discovery_sample2
test_exceptions
test_runner Added multi_db=True to test cases that access the 'other' db connection. 2017-02-10 08:19:32 -05:00
test_utils
timezones Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
transaction_hooks
transactions Fixed #27683 -- Made MySQL default to the read committed isolation level. 2017-02-01 15:34:17 -05:00
unmanaged_models
update
update_only_fields
urlpatterns_reverse Fixed spelling of "nonexistent". 2017-02-03 08:01:45 -05:00
user_commands
utils_tests
validation
validators Refs #23919 -- Removed str_prefix usage 2017-01-20 15:43:28 +01:00
version
view_tests Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). 2017-02-09 09:03:47 -05:00
wsgi
.coveragerc
README.rst
runtests.py Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. 2017-01-20 08:17:20 -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
    $ ./runtests.py

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