1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00
django/tests
Markus Holtermann 273bc4b667 Refs #24282 -- Added failing test case for assigning models of wrong type to FK
Thanks Jeff Singer for the test case.
2015-02-16 19:31:51 +01:00
..
absolute_url_overrides
admin_autodiscover Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_changelist Replaced hardcoded URLs in admin_* tests 2015-02-08 20:55:09 +01:00
admin_checks Fixed #24146 -- Allowed model._meta.get_field() to be used after apps.models_ready 2015-02-10 19:55:06 -05:00
admin_custom_urls Fixed #15779 -- Allowed 'add' primary key in admin edition 2015-02-14 11:19:55 +01:00
admin_docs Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_filters Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_inlines Replaced hardcoded URLs in admin_* tests 2015-02-08 20:55:09 +01:00
admin_ordering Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_registration Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_scripts Prevented some test commands from needlessly running system checks. 2015-02-11 10:14:38 -05:00
admin_utils Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_views Fixed #15779 -- Allowed 'add' primary key in admin edition 2015-02-14 11:19:55 +01:00
admin_widgets Refs #14497 -- Handled empty readonly admin FileFields 2015-02-11 13:00:56 -05:00
aggregation Refs #14030 -- Added tests for Value aggregates 2015-02-13 10:06:46 +11:00
aggregation_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
annotations Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
app_loading Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
apps Added check_apps_ready() to Apps.get_containing_app_config() 2015-02-08 14:52:19 -05:00
auth_tests Isolated auth_tests from contenttypes_tests; refs #11505. 2015-02-14 22:04:48 -05:00
backends Fixed #24318 -- Set the transaction isolation level with psycopg >= 2.4.2. 2015-02-14 18:51:11 +01:00
base
bash_completion Removed support for syncing apps without migrations per deprecation timeline. 2015-01-18 15:58:06 -05:00
basic Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
builtin_server Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
bulk_create Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
cache Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
check_framework Removed Django 1.7 MIDDLEWARE_CLASSES upgrade check. 2015-02-09 19:16:07 -05:00
choices Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
conditional_processing Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
contenttypes_tests Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
context_processors Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
createsuperuser
csrf_tests Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
custom_columns Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
custom_lookups Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
custom_managers Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
custom_methods
custom_migration_operations
custom_pk Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
datatypes
dates Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
datetimes Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
db_functions Refs #14030 -- Improved expression support for python values 2015-02-12 08:46:25 +11:00
db_typecasts Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
dbshell
decorators Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
defer Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
defer_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
delete Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
delete_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
deprecation Removed deprecated Chinese language codes; refs #18149. 2015-01-17 11:23:43 -05:00
dispatch Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
distinct_on_fields Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
empty
expressions Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
expressions_case Refs #14030 -- Improved expression support for python values 2015-02-12 08:46:25 +11:00
extra_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
field_deconstruction
field_defaults
field_subclassing Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
file_storage Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
file_uploads Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
files Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
fixtures Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
fixtures_model_package Removed support for custom SQL per deprecation timeline. 2015-01-17 10:16:06 -05:00
fixtures_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
flatpages_tests Moved contrib.flatpages tests out of contrib. 2015-02-11 10:19:22 -05:00
force_insert_update Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
foreign_object Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
forms_tests Added missing return value to DurationField.prepare_value(); refs #24339. 2015-02-14 18:38:50 -05:00
from_db_value Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
generic_inline_admin Deprecated TEMPLATE_DEBUG setting. 2015-02-15 20:47:04 +01:00
generic_relations Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
generic_relations_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
generic_views Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
get_earliest_or_latest Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
get_object_or_404 Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
get_or_create Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
gis_tests Moved contrib.gis tests out of contrib. 2015-02-11 10:29:54 -05:00
handlers Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
http_utils Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
httpwrappers Fixed E265 comment style 2015-02-06 09:30:35 -05:00
humanize_tests Moved contrib.humanize tests out of contrib. 2015-02-11 10:19:22 -05:00
i18n Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
import_error_package Refactored tests that rely on an ImportError for Python 3.5 compatibility 2015-02-03 18:30:46 -05:00
indexes Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
inline_formsets Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
inspectdb Removed IPAddressField per deprecation timeline; refs #20439. 2015-01-19 11:12:57 -05:00
introspection Fixed E265 comment style 2015-02-06 09:30:35 -05:00
invalid_models_tests Removed unnecessary parentheses in model check messages. 2015-02-09 08:53:58 -05:00
known_related_objects Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
logging_tests Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
lookup Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
m2m_and_m2o Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
m2m_intermediary Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
m2m_multiple
m2m_recursive
m2m_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
m2m_signals Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
m2m_through Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
m2m_through_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
m2o_recursive
mail Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
managers_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
many_to_many Merged ManyRelatedObjectsDescriptor and ReverseManyRelatedObjectsDescriptor 2015-02-16 20:40:04 +07:00
many_to_one Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
many_to_one_null Fixed #6707 -- Added RelatedManager.set() and made descriptors' __set__ use it. 2015-02-05 12:45:08 +07:00
max_lengths Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
messages_tests Moved contrib.messages tests out of contrib. 2015-02-11 10:19:22 -05:00
middleware Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
middleware_exceptions Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
migrate_signals Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
migration_test_data_persistence Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
migrations Refs #24282 -- Added failing test case for assigning models of wrong type to FK 2015-02-16 19:31:51 +01:00
migrations2
model_fields Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many. 2015-02-14 02:28:24 +07:00
model_forms Fixed #24295 -- Allowed ModelForm meta to specify form field classes. 2015-02-13 19:13:05 +07:00
model_formsets Fixed #24295 -- Allowed ModelForm meta to specify form field classes. 2015-02-13 19:13:05 +07:00
model_formsets_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
model_inheritance Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
model_inheritance_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
model_meta Fixed #24146 -- Allowed model._meta.get_field() to be used after apps.models_ready 2015-02-10 19:55:06 -05:00
model_options Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
model_package Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
model_permalink Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
model_regress Fixed E265 comment style 2015-02-06 09:30:35 -05:00
model_validation Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
modeladmin Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
multiple_database Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
mutually_referential
nested_foreign_keys Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
no_models
null_fk Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
null_fk_ordering Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
null_queries Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
one_to_one Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
or_lookups
order_with_respect_to Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
ordering Refs #24060 -- Added a test demonstrating reverse order isn't mutable 2015-01-28 10:59:30 +11:00
pagination Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
postgres_tests Refs #22962 -- Made test case use non-conflicting table names 2015-02-13 14:01:54 +01:00
prefetch_related Fixed E265 comment style 2015-02-06 09:30:35 -05:00
project_template
properties
proxy_model_inheritance Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
proxy_models Replaced some more hardcoded admin URLs 2015-02-09 17:29:53 +01:00
queries Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
queryset_pickle Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
raw_query Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
redirects_tests Moved contrib.redirects tests out of contrib. 2015-02-11 10:19:22 -05:00
requests Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
requirements Removed compatibility with Python 3.2. 2015-01-17 09:00:17 -05:00
reserved_names
resolve_url Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
responses Fixed #24137 -- Switched to HTTP reason phrases from Python stdlib. 2015-01-28 06:59:40 -05:00
reverse_lookup Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
save_delete_hooks
schema Merged ManyRelatedObjectsDescriptor and ReverseManyRelatedObjectsDescriptor 2015-02-16 20:40:04 +07:00
select_for_update Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
select_related Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
select_related_onetoone Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
select_related_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
serializers Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
serializers_regress Fixed #24320 - Used field.value_to_string() in serialization of foreign key. 2015-02-13 12:37:23 -05:00
servers Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
sessions_tests Moved contrib.sessions tests out of contrib. 2015-02-11 10:19:22 -05:00
settings_tests Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
shortcuts Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
signals
signed_cookies_tests
signing Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
sitemaps_tests Fixed #24345 -- Isolated sitemaps_tests from contenttypes_tests; refs #11505 2015-02-16 08:42:43 -05:00
sites_framework Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
sites_tests Fixed #24332 -- Fixed contrib.sites create_default_site() when 'default' DATABASES is empty. 2015-02-13 07:01:28 -05:00
staticfiles_tests Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
str
string_lookup Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
swappable_models Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
syndication_tests Fixed E265 comment style 2015-02-06 09:30:35 -05:00
template_backends Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
template_loader Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
template_tests Deprecated TEMPLATE_DEBUG setting. 2015-02-15 20:47:04 +01:00
templates
test_client Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_client_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_discovery_sample
test_discovery_sample2
test_exceptions
test_runner Moved contrib.gis tests out of contrib. 2015-02-11 10:29:54 -05:00
test_runner_deprecation_app
test_utils Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
timezones Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
transactions Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
unmanaged_models Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
update Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
update_only_fields Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
urlpatterns_reverse Added missing import from last commit. 2015-02-12 08:18:10 -05:00
user_commands Prevented some test commands from needlessly running system checks. 2015-02-11 10:14:38 -05:00
utils_tests Fixed #24321 -- Improved utils.http.same_origin compliance with RFC6454 2015-02-12 08:58:35 +01:00
validation Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
validators Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
version
view_tests Deprecated TEMPLATE_DEBUG setting. 2015-02-15 20:47:04 +01:00
webdesign_tests Moved contrib.webdesign tests out of contrib. 2015-02-11 12:30:07 -05:00
wsgi Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
.coveragerc Removed FastCGI support per deprecation timeline; refs #20766. 2015-01-17 08:32:31 -05:00
README.rst
runtests.py Removed explicit pointers to migration modules for contrib apps in runtest 2015-02-13 14:29:45 +01:00
test_sqlite.py Added trailing comma. 2015-02-06 12:58:45 +01:00
urls.py

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