django/tests
Simon Charette cc8c02fa0f Refs #25693 -- Added a regression test for `to_attr` validation on forward m2m. 2015-11-11 12:25:10 -05:00
..
absolute_url_overrides
admin_autodiscover
admin_changelist Fixed #24687 -- Added select_related() validation for nested non-relational fields. 2015-10-10 09:48:50 -04:00
admin_checks Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
admin_custom_urls
admin_docs Removed 'Test that' prefix from admindocs tests. 2015-09-07 15:07:47 -04:00
admin_filters Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
admin_inlines Fixed #24976 -- Fixed missing form label in tabular inline. 2015-10-21 13:35:50 -04:00
admin_ordering Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
admin_registration
admin_scripts Refs #25589 -- Fixed admin_scripts test failure on Windows. 2015-10-22 19:38:23 -04:00
admin_utils Fixed #25668 -- Misc spelling errors 2015-11-03 11:58:13 +02:00
admin_views Fixed #25622 -- Accounted for generic relations in the admin to field validation 2015-10-29 13:13:19 -04:00
admin_widgets Refs #25550 -- Removed reverse related set assignment in selenium tests. 2015-10-30 21:16:56 -04:00
aggregation Refs #14030 -- Removed backwards compatiblity for old-style aggregates. 2015-09-23 19:31:10 -04:00
aggregation_regress Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
annotations Fixed #24986 -- Added support for annotations in DISTINCT queries. 2015-08-15 08:23:32 -04:00
app_loading Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
apps Refs #22789 -- Removed contrib.webdesign per deprecation timeline. 2015-09-23 19:31:09 -04:00
auth_tests Removed unnecessary app_label='auth' on auth_tests models. 2015-10-27 08:19:45 -04:00
backends Refs #12118 -- Allowed "mode=memory" in SQLite test database names. 2015-10-06 12:32:05 -04:00
base
bash_completion
basic Refs #21414 -- Removed Field.related per deprecation timeline. 2015-09-23 19:31:10 -04:00
builtin_server
bulk_create Fixed #22705 -- Fixed QuerySet.bulk_create() on models without any fields on Oracle. 2015-10-09 14:16:06 -04:00
cache Fixed #6727 -- Made patch_cache_control() patch an empty Cache-Control header. 2015-11-09 14:26:29 -05:00
check_framework Fixed #25500 -- Added --fail-level option to check command. 2015-10-05 17:11:40 -04:00
choices
conditional_processing
contenttypes_tests Refs #24099 -- Removed compatibility shim for ContentType.name field. 2015-09-23 19:31:10 -04:00
context_processors
createsuperuser Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
csrf_tests Fixed #24496 -- Added CSRF Referer checking against CSRF_COOKIE_DOMAIN. 2015-09-16 12:21:50 -04:00
custom_columns Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
custom_lookups Fixed #24629 -- Unified Transform and Expression APIs 2015-09-21 19:56:24 +10:00
custom_managers Refs #20625 -- Forwardported tests and release notes for queryset chaining fix. 2015-09-17 19:22:53 -04:00
custom_methods Tweak some examples. 2015-08-22 20:25:42 +02:00
custom_migration_operations
custom_pk Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
datatypes
dates Fixed #25470 -- Avoided unnecessary, expensive DATETIME typecast on MySQL. 2015-10-21 19:24:19 -04:00
datetimes Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
db_functions Fixed #25668 -- Misc spelling errors 2015-11-03 11:58:13 +02:00
db_typecasts Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
dbshell Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql. 2015-08-07 09:33:17 -04:00
decorators Fixed #25611 -- Standardized descriptor signatures. 2015-10-26 11:31:16 -04:00
defer Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
defer_regress Fixed #25563 -- Cached deferred models in their proxied model's _meta.apps. 2015-10-19 20:11:32 -04:00
delete Fixed #24576 -- Made deletion of related objects deterministic. 2015-11-09 15:04:48 -05:00
delete_regress Changed database connection duplication technique. 2015-09-09 23:03:51 +02:00
deprecation Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and StringOrigin. 2015-09-29 18:31:11 -04:00
dispatch
distinct_on_fields Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
empty
expressions Fixed #25506 -- Allowed filtering over a RawSQL annotation. 2015-10-14 11:13:58 -07:00
expressions_case Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
extra_regress Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
field_deconstruction Refs #24590 -- Ensured isolation between autodetector tests 2015-08-28 10:17:34 +10:00
field_defaults
field_subclassing Removed SubfieldBase per deprecation timeline. 2015-09-23 19:31:09 -04:00
file_storage Fixed #21042 -- Allowed accessing FileDescriptor on the model class. 2015-10-01 15:19:39 -04:00
file_uploads Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
files
fixtures Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
fixtures_model_package
fixtures_regress Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list. 2015-10-06 12:38:34 -04:00
flatpages_tests Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00
force_insert_update
foreign_object Fixed #25668 -- Misc spelling errors 2015-11-03 11:58:13 +02:00
forms_tests Fixed #25683 -- Allowed ModelChoiceField(queryset=...) to accept Managers. 2015-11-09 12:42:36 -05:00
from_db_value
generic_inline_admin Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
generic_relations Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
generic_relations_regress Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
generic_views Renamed a test file that has no tests. 2015-11-07 21:28:13 +01:00
get_earliest_or_latest
get_object_or_404 Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
get_or_create Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
gis_tests Removed ability to pass a geometry string to GIS functions 2015-11-07 16:04:24 +01:00
handlers Fixed #17133 -- Properly handled successive slashes in incoming requests 2015-10-23 22:18:18 +02:00
http_utils
httpwrappers Fixed #25254 -- Added JsonResponse json_dumps_params parameter. 2015-08-12 10:39:07 -04:00
humanize_tests
i18n Fixed #25720 -- Made gettext() return bytestring on Python 2 if input is bytestring. 2015-11-11 08:56:10 -05:00
import_error_package
indexes Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
inline_formsets Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
inspectdb Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
introspection Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
invalid_models_tests Revert "Fixed #25417 -- Added a field check for invalid default values." 2015-10-27 11:02:35 -04:00
known_related_objects Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
logging_tests Refs #24526 -- Made the django logger handle INFO messages. 2015-09-23 11:33:49 -04:00
lookup Fixed #25609 -- Fixed regression in related field nested lookup error. 2015-10-27 13:49:00 -04:00
m2m_and_m2o Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
m2m_intermediary Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
m2m_multiple Tweak some examples. 2015-08-22 20:25:42 +02:00
m2m_recursive
m2m_regress Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
m2m_signals Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
m2m_through Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
m2m_through_regress Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
m2o_recursive Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
mail Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
managers_regress Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
many_to_many Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
many_to_one Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
many_to_one_null Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
max_lengths
messages_tests
middleware Fixed "URLconf" spelling in code comments. 2015-10-22 14:46:42 -04:00
middleware_exceptions Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
migrate_signals
migration_test_data_persistence
migrations Fixed #25604 -- Added makemigrations --check option. 2015-10-24 14:45:00 -04:00
migrations2 Fixed #24743, #24745 -- Optimized migration plan handling 2015-09-19 14:54:53 +10:00
model_fields Fixed #24509 -- Added Expression support to SQLInsertCompiler 2015-09-22 23:35:24 +10:00
model_forms Fixed #25496 -- Made ModelChoiceField respect prefetch_related(). 2015-10-05 18:21:56 -04: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 Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
model_inheritance Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
model_inheritance_regress Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
model_meta Refs #18012 -- Made proxy and concrete model reverse fields consistent. 2015-10-12 12:14:27 -04:00
model_options Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
model_package
model_permalink
model_regress Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
model_validation Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
modeladmin Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
multiple_database Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04: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 Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
no_models
null_fk Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
null_fk_ordering Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
null_queries Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list. 2015-10-06 12:38:34 -04:00
one_to_one Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
or_lookups Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
order_with_respect_to Fixed #24201 -- Added order_with_respect_to support to GenericForeignKey. 2015-08-27 09:20:17 -04:00
ordering Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
pagination Fixed #23190 -- Made Paginator.page_range an iterator 2015-07-03 11:34:34 -04:00
postgres_tests Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on invalid value. 2015-10-27 08:11:11 -04:00
prefetch_related Refs #25693 -- Added a regression test for `to_attr` validation on forward m2m. 2015-11-11 12:25:10 -05:00
project_template Removed support for Python 3.3. 2015-06-18 08:36:50 -04:00
properties
proxy_model_inheritance Fixed #23076, #25505 -- Fixed deletion of intermediate proxy models. 2015-10-12 12:14:26 -04:00
proxy_models Fixed #18012 -- Propagated reverse foreign keys from proxy to concrete models. 2015-10-12 12:14:26 -04:00
queries Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
queryset_pickle Refs #17917 -- Added a test for pickling annotations on fields with callable defaults. 2015-10-07 15:08:59 -04:00
raw_query Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
redirects_tests
requests Fixed #17133 -- Properly handled successive slashes in incoming requests 2015-10-23 22:18:18 +02:00
requirements Added a version requirement to mysqlclient in test requirements. 2015-09-17 15:07:26 -04:00
reserved_names
resolve_url Refs #22384 -- Removed the ability to reverse URLs by dotted path per deprecation timeline. 2015-09-23 19:31:09 -04:00
responses Fixed #25576 -- Added IOBase methods required by TextIOWrapper to HttpResponse. 2015-10-21 10:42:29 -04:00
reverse_lookup Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
save_delete_hooks
schema Used SchemaEditor.delete_model() for teardown in schema tests. 2015-10-16 08:40:57 -07:00
select_for_update Changed database connection duplication technique. 2015-09-09 23:03:51 +02:00
select_related Fixed #24687 -- Added select_related() validation for nested non-relational fields. 2015-10-10 09:48:50 -04: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 Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
serializers Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
servers Fixed #25204 -- Added missing space in runserver logging. 2015-08-01 08:01:24 -04:00
sessions_tests Fixed quad quoted ("""") docstring starts. 2015-10-20 12:19:17 -04:00
settings_tests Refs #23957 -- Required session verification per deprecation timeline. 2015-09-23 19:31:10 -04:00
shortcuts Removed support for passing a context to a generic Template.render(). 2015-09-23 19:31:11 -04:00
signals Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
signed_cookies_tests
signing Refs #22804 -- Made an unsafe value of 'sep' in Signer an exception. 2015-09-23 19:31:11 -04:00
sitemaps_tests Refs #22384 -- Removed the ability to reverse URLs by dotted path per deprecation timeline. 2015-09-23 19:31:09 -04:00
sites_framework Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
sites_tests Fixed #25692 -- Added natural keys support to Site model. 2015-11-07 21:19:25 +01:00
staticfiles_tests Fixed #25346 -- Allowed collectstatic to delete broken symlinks. 2015-10-17 14:13:31 -04:00
str Fixed #25730 -- Made Model.__str__() always return str instances. 2015-11-11 12:18:52 -05:00
string_lookup Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list. 2015-10-06 12:38:34 -04:00
swappable_models
syndication_tests Refs #13110 -- Fixed mistakes in the new multiple enclosure feed tests 2015-09-19 15:54:33 +02:00
template_backends Removed support for passing a context to a generic Template.render(). 2015-09-23 19:31:11 -04:00
template_loader
template_tests Fixed #25441 -- Added support for negative filesize to filesizeformat template filter. 2015-10-27 10:35:45 -04:00
templates
test_client Fixed #25424 -- Use force_str for test client URLs. 2015-09-19 15:05:54 +02:00
test_client_regress Fixed #25668 -- Misc spelling errors 2015-11-03 11:58:13 +02:00
test_discovery_sample
test_discovery_sample2
test_exceptions
test_runner Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and StringOrigin. 2015-09-29 18:31:11 -04:00
test_runner_deprecation_app
test_utils Fixed #25170 -- Made assertXMLEqual()/assertXMLNotEqual() ignore leading and trailing whitespace. 2015-11-09 15:53:30 -05:00
timezones Fixed #25668 -- Misc spelling errors 2015-11-03 11:58:13 +02:00
transaction_hooks
transactions Fixed #24921 -- set_autocommit(False) + ORM queries. 2015-09-21 22:21:53 +02:00
unmanaged_models Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
update Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
update_only_fields Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
urlpatterns_reverse Fixed #25668 -- Misc spelling errors 2015-11-03 11:58:13 +02:00
user_commands Fixed #16734 -- Set script prefix even outside of requests 2015-10-29 20:12:38 +01:00
utils_tests Fixed debug view crash during autumn DST change. 2015-11-07 23:17:33 +01:00
validation Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
validators Fixed #25635 -- Made URLValidator allow '+' in scheme. 2015-10-31 17:50:05 -04:00
version
view_tests Fixed "URLconf" spelling in code comments. 2015-10-22 14:46:42 -04:00
wsgi Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00
.coveragerc Fixed #25209 -- Removed parallel=True coverage option 2015-08-04 09:32:12 -04:00
README.rst
runtests.py Ignored docutils deprecation warnings in runtests.py. 2015-10-28 13:58:31 -04:00
test_sqlite.py
urls.py Fixed "URLconf" spelling in code comments. 2015-10-22 14:46:42 -04:00

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