1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests
2016-01-25 14:23:43 -05:00
..
absolute_url_overrides Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
admin_autodiscover
admin_changelist Fixed #26013 -- Moved django.core.urlresolvers to django.urls. 2015-12-31 14:21:29 -05:00
admin_checks Fixed #24116 -- Moved AdminSite.check_dependencies() to system checks. 2016-01-22 18:29:56 -05:00
admin_custom_urls Fixed #26013 -- Moved django.core.urlresolvers to django.urls. 2015-12-31 14:21:29 -05:00
admin_docs Fixed #26013 -- Moved django.core.urlresolvers to django.urls. 2015-12-31 14:21:29 -05:00
admin_filters Fixed #22810 -- Corrected admin changelist count for list filters that filter by default. 2015-11-18 19:54:27 -05:00
admin_inlines Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
admin_ordering Fixed #25985 -- Updated signature of ModelAdmin.formfield_for_* to make request a positional argument. 2015-12-29 12:49:14 -05:00
admin_registration Fixed #25688 -- Made admin.register() disallow an empty list of models. 2015-11-12 09:54:43 -05:00
admin_scripts Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix. 2016-01-25 12:39:06 -05:00
admin_utils Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
admin_views Fixed #26060 -- Fixed crash with reverse OneToOneField in ModelAdmin.readonly_fields. 2016-01-21 13:21:28 -05:00
admin_widgets Refs #26048 -- Fixed a flaky selenium test. 2016-01-14 19:35:34 -05:00
aggregation Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
aggregation_regress Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
annotations
app_loading
apps Added missing period to "etc.". 2016-01-11 18:05:15 -05:00
auth_tests Fixed #21113 -- Made LogEntry.change_message language independent 2016-01-08 20:34:59 +01:00
backends Fixed #26063 -- Crash when passing > 2000 params. 2016-01-21 10:47:15 +01:00
base
bash_completion
basic Fixed #26026 -- Fixed isinstance crash comparing EmptyQuerySet to non-QuerySet. 2016-01-07 10:57:05 -05:00
builtin_server
bulk_create Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
cache Fixed #25840 -- Fixed BaseCache.get_or_set() on the DummyCache backend. 2015-12-04 12:22:17 -05:00
check_framework Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
choices
conditional_processing
contenttypes_tests Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
context_processors
createsuperuser Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
csrf_tests Fixed #26094 -- Fixed CSRF behind a proxy (settings.USE_X_FORWARDED_PORT=True). 2016-01-20 18:19:24 -05: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
custom_migration_operations
custom_pk
datatypes
dates Fixed #25470 -- Avoided unnecessary, expensive DATETIME typecast on MySQL. 2015-10-21 19:24:19 -04:00
datetimes
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
decorators Fixed #20223 -- Added keep_lazy() as a replacement for allow_lazy(). 2015-12-12 14:46:48 -05:00
defer
defer_regress Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
delete Fixed #25882 -- Prevented fast deletes matching no rows from crashing on MySQL. 2015-12-14 13:12:36 -05:00
delete_regress
deprecation Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and StringOrigin. 2015-09-29 18:31:11 -04:00
dispatch
distinct_on_fields
empty
expressions Fixed #25506 -- Allowed filtering over a RawSQL annotation. 2015-10-14 11:13:58 -07:00
expressions_case Refs #26071 -- Added test for __in lookup in a Case expression. 2016-01-13 08:56:36 -05:00
extra_regress Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
field_deconstruction
field_defaults
field_subclassing Removed SubfieldBase per deprecation timeline. 2015-09-23 19:31:09 -04:00
file_storage Fixed #26038 -- Changed FileSystemStorage defaults on setting change. 2016-01-07 12:04:39 -05:00
file_uploads Fixed typos in test comments. 2016-01-23 12:45:25 -05:00
files
fixtures Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception. 2016-01-04 19:39:35 -05:00
fixtures_model_package Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception. 2016-01-04 19:39:35 -05:00
fixtures_regress Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list. 2015-10-06 12:38:34 -04:00
flatpages_tests Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
force_insert_update
foreign_object Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
forms_tests Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
from_db_value
generic_inline_admin Fixed #26013 -- Moved django.core.urlresolvers to django.urls. 2015-12-31 14:21:29 -05:00
generic_relations Fixed #12885 -- Fixed queries with GenericRelations to multi-table inheritance child models. 2015-12-14 10:48:01 -05:00
generic_relations_regress
generic_views Fixed #26013 -- Moved django.core.urlresolvers to django.urls. 2015-12-31 14:21:29 -05: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
gis_tests Fixed typos in test comments. 2016-01-23 12:45:25 -05:00
handlers Fixed #25780 -- Removed redundant status code assertions from tests 2015-11-21 18:12:33 +01:00
http_utils
httpwrappers Fixed #25725 -- Made HttpReponse immediately close objects. 2015-12-14 12:46:48 -05:00
humanize_tests
i18n Fixed #26093 -- Allowed escape sequences extraction by gettext on Python 3 2016-01-23 14:00:55 +01:00
import_error_package
indexes
inline_formsets
inspectdb Fixed #25274 --- Made inspectdb handle renamed fields in unique_together. 2015-11-25 13:07:00 -05:00
introspection Fixed #14286 -- Added models.BigAutoField. 2015-12-25 20:01:31 -05:00
invalid_models_tests Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
known_related_objects
logging_tests Fixed #25999 -- Removed promotion of RemovedInNextVersionWarning to loud by default. 2016-01-14 09:05:43 -05:00
lookup Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
m2m_and_m2o
m2m_intermediary
m2m_multiple
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 Refs #26092 -- Added @skipUnlessDBFeature to a test. 2016-01-21 08:05:55 -05: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
mail Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
managers_regress Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
many_to_many Fixed #14286 -- Added models.BigAutoField. 2015-12-25 20:01:31 -05:00
many_to_one Fixed #14286 -- Added models.BigAutoField. 2015-12-25 20:01:31 -05: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 Fixed #26013 -- Moved django.core.urlresolvers to django.urls. 2015-12-31 14:21:29 -05:00
middleware Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05: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 #24109 -- Allowed RunSQL and RunPython operations to be elided. 2016-01-23 14:19:03 -05:00
migrations2 Fixed #24743, #24745 -- Optimized migration plan handling 2015-09-19 14:54:53 +10:00
model_fields Fixed #25858 -- Bound abstract model application relative relationships. 2016-01-11 12:23:23 -05: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 Renamed __unicode__() to __str__() in some test comments. 2015-11-19 16:44:16 -05: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 Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
model_options Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
model_package
model_permalink
model_regress Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite. 2015-11-14 11:33:28 -05:00
model_validation
modeladmin Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05: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
nested_foreign_keys Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
no_models
null_fk
null_fk_ordering Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05: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 #25875 -- Prevented UnicodeDecodeError for Q object repr 2015-12-13 15:07:17 +01:00
order_with_respect_to Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
ordering
pagination
postgres_tests Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
prefetch_related Fixed #25544 -- Removed duplicate ids in prefetch_related() queries. 2015-12-17 19:08:30 -05:00
project_template Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix. 2016-01-25 12:39:06 -05:00
properties Fixed #25910 -- Rejected read-only property names in model constructors. 2016-01-22 13:27:11 -05:00
proxy_model_inheritance Fixed #23076, #25505 -- Fixed deletion of intermediate proxy models. 2015-10-12 12:14:26 -04:00
proxy_models Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
queries Fixed #25894 -- Fixed evaluation of zero-length slices of QuerySet.values(). 2015-12-15 07:29:35 -05:00
queryset_pickle Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
raw_query Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
redirects_tests
requests Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
requirements Fixed #25764 -- Added support for serialization of enum.Enum in migrations. 2015-11-19 17:21:12 -05:00
reserved_names
resolve_url Fixed #26013 -- Moved django.core.urlresolvers to django.urls. 2015-12-31 14:21:29 -05:00
responses Fixed #25725 -- Made HttpReponse immediately close objects. 2015-12-14 12:46:48 -05:00
reverse_lookup
save_delete_hooks
schema Fixed #26116 -- Corrected schema's test_alter_implicit_id_to_explicit. 2016-01-22 12:46:27 -05:00
select_for_update
select_related Fixed #24687 -- Added select_related() validation for nested non-relational fields. 2015-10-10 09:48:50 -04:00
select_related_onetoone
select_related_regress Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
serializers Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
servers Fixed #25684 -- Made runserver use logging for request/response output. 2016-01-11 07:35:17 -05: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
shell Fixed #25680 -- Added django-admin shell --command option. 2016-01-06 18:43:41 -05:00
shortcuts Removed support for passing a context to a generic Template.render(). 2015-09-23 19:31:11 -04:00
signals Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05: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 Fixed #25989 -- Corrected sitemap's Last-Modified header to use the latest lastmod of all sitemaps. 2016-01-23 08:48:31 -05:00
sites_framework Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
sites_tests Fixed #25692 -- Added natural keys support to Site model. 2015-11-07 21:19:25 +01:00
staticfiles_tests Refs #21221 -- Added test for legacy static usage in form Media. 2016-01-19 06:57:20 -05:00
str Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -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 Fixed #25469 -- Added autoescape option to DjangoTemplates backend. 2015-11-12 19:14:23 -05:00
template_loader
template_tests Fixed #26118 -- Added 'is' operator to if template tag. 2016-01-22 15:35:28 -05:00
templates Changed action="." to action="" in tests and docs. 2016-01-21 13:59:15 -05:00
test_client Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
test_client_regress Fixed #26013 -- Moved django.core.urlresolvers to django.urls. 2015-12-31 14:21:29 -05:00
test_discovery_sample
test_discovery_sample2
test_exceptions
test_runner Fixed #25999 -- Removed promotion of RemovedInNextVersionWarning to loud by default. 2016-01-14 09:05:43 -05:00
test_utils Refs #25746 -- Added a test utility to isolate inlined model registration. 2016-01-06 20:00:07 -05:00
timezones Fixed #26013 -- Moved django.core.urlresolvers to django.urls. 2015-12-31 14:21:29 -05:00
transaction_hooks
transactions Fixed #24921 -- set_autocommit(False) + ORM queries. 2015-09-21 22:21:53 +02:00
unmanaged_models Removed British/Austrialian word: whilist. 2015-12-31 14:29:52 -05:00
update
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 #26039 -- Unwrapped nested partials in URL reversal. 2016-01-06 15:22:37 -05:00
user_commands Fixed #26013 -- Moved django.core.urlresolvers to django.urls. 2015-12-31 14:21:29 -05:00
utils_tests Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
validation
validators Fixed #25637 -- Added URLValidator hostname length validation. 2015-12-08 15:46:45 -05:00
version Fixed #25769 -- Updated get_version() release candidate naming for PEP 0440. 2015-11-19 10:00:09 -05:00
view_tests Fixed #25697 -- Made default error views error when passed a nonexistent template_name. 2016-01-14 07:05:38 -05:00
wsgi
.coveragerc
README.rst
runtests.py Fixed #25999 -- Removed promotion of RemovedInNextVersionWarning to loud by default. 2016-01-14 09:05:43 -05:00
test_sqlite.py
urls.py Fixed "URLconf" spelling in code comments. 2015-10-22 14:46:42 -04:00

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