1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests
2015-03-21 10:27:30 +01:00
..
absolute_url_overrides
admin_autodiscover Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_changelist Fixed #24285 -- Made for_user argument optional for {% get_admin_log %} tag 2015-03-20 08:32:25 -04: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 Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
admin_docs Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
admin_filters Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_inlines Fixed admin selenium tests broken by removal of fixtures. 2015-03-05 17:51:17 -05: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 Guaranteed removal of temporary files during tests. 2015-02-23 16:55:26 +01:00
admin_utils Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_views Fixed #24490 -- Set LogEntry.change_message when adding an object. 2015-03-20 18:25:06 -04:00
admin_widgets Fixed admin selenium tests broken by removal of fixtures. 2015-03-05 17:51:17 -05:00
aggregation Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
aggregation_regress Fixed #24171 -- Fixed failure with complex aggregate query and expressions 2015-03-09 07:49:23 -04:00
annotations Fixed #24420 -- Allowed ordering by case expressions 2015-03-06 13:30:02 +11:00
app_loading Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
apps Refs #24324 -- Fixed Python 2 test failures when path to Django source contains non-ASCII characters. 2015-02-17 19:03:03 -05:00
auth_tests Fixed #23926 -- Improved validation error for custom permissions that are too long. 2015-03-16 12:13:49 -04:00
backends Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for contrib.postgres). 2015-02-16 18:07:27 -05:00
base
bash_completion
basic Fixed #24418 -- Prevented crash in refresh_from_db with null fk 2015-02-27 20:23:07 +01: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 Fixed #12982 -- Added a get_or_set() method to the BaseCache backend. 2015-03-14 20:07:16 +02: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 Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 2015-03-18 19:00:09 -04:00
context_processors Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
createsuperuser
csrf_tests Fixed #21495 -- Added settings.CSRF_HEADER_NAME 2015-03-05 15:03:40 -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 Update converters to take a consistent set of parameters. 2015-02-20 11:35:52 +00: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 Fixed #15579 -- Added ability to delete only child models in multi-table inheritance. 2015-03-17 08:33:16 -04:00
delete_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
deprecation
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 Refs #24485 -- Renamed some expression types 2015-03-17 08:40:18 -04:00
expressions_case Fixed #24420 -- Allowed ordering by case expressions 2015-03-06 13:30:02 +11:00
extra_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
field_deconstruction Refs #24483 -- Added a test for deconstruction of Field.choices 2015-03-18 13:39:52 -04:00
field_defaults
field_subclassing Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
file_storage Guaranteed removal of temporary files during tests. 2015-02-23 16:55:26 +01:00
file_uploads Normalized usage of the tempfile module. 2015-02-23 16:55:27 +01:00
files Guaranteed removal of temporary files during tests. 2015-02-23 16:55:26 +01:00
fixtures Prevented some tests from writing in the CWD. 2015-03-07 15:56:15 +01:00
fixtures_model_package
fixtures_regress Refs #24324 -- Skipped fixtures_regress tests that fail on Python 2 on a non-ASCII path. 2015-02-18 07:25:36 -05:00
flatpages_tests Fixed #24476 -- Added context manager/decorator for overriding script prefix. 2015-03-18 13:03:25 -04: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 Fixed #5986 -- Added ability to customize order of Form fields 2015-03-16 09:12:57 -04:00
from_db_value Update converters to take a consistent set of parameters. 2015-02-20 11:35:52 +00:00
generic_inline_admin Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11: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 Fixed #23960 -- Removed http.fix_location_header 2015-03-18 18:22:50 +01: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 Fixed gis test failures when numpy isn't installed. 2015-03-20 13:42:55 -04:00
handlers Fixed #23173 -- Fixed incorrect stripping of SCRIPT_URL 2015-03-08 15:48:27 +01:00
http_utils Fixed #23960 -- Removed http.fix_location_header 2015-03-18 18:22:50 +01:00
httpwrappers Fixed #20889 -- Prevented BadHeaderError when Python inserts newline 2015-02-19 20:18:31 +01:00
humanize_tests Moved contrib.humanize tests out of contrib. 2015-02-11 10:19:22 -05:00
i18n Fixed #24515 -- Fixed DjangoTranslation plural handling 2015-03-21 10:27:30 +01: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 Fixed Oracle build failure introduced by refs #24390. 2015-03-03 00:01:21 +02:00
inline_formsets Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
inspectdb
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 Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11: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 Removed unused imports. 2015-03-20 17:57:11 -04: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 Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 2015-03-18 19:00:09 -04: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 Fixed #23960 -- Removed http.fix_location_header 2015-03-18 18:22:50 +01: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 Fixed #24427 -- Stopped writing migration files in dry run mode when merging. 2015-03-16 14:04:37 -04:00
migrations2
model_fields Guaranteed removal of temporary files during tests. 2015-02-23 16:55:26 +01:00
model_forms Updated test to be date-independent 2015-03-05 10:08:39 +01:00
model_formsets Fixed #24395 -- Ensured inline ModelsForms have an updated related instance. 2015-02-24 11:49:00 -05: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 #24328 -- cleaned up Options._get_fields() implementation 2015-02-20 13:00:12 -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 Normalized usage of the tempfile module. 2015-02-23 16:55:27 +01: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 Fixed allow_migrate signature in one of the tests. 2015-02-21 23:13:14 +07: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 Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 2015-03-18 19:00:09 -04:00
or_lookups
order_with_respect_to Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
ordering
pagination Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
postgres_tests Fixed #24341 -- Added specific error messages to RangeField subclasses 2015-02-20 16:49:15 -05: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 Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
queries Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
queryset_pickle Fixed #24381 -- removed ForeignObjectRel opts and to_opts 2015-02-23 07:24:43 -05:00
raw_query Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11: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 Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for contrib.postgres). 2015-02-16 18:07:27 -05:00
reserved_names
resolve_url Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
responses Fixed #24139 -- Changed HttpResponse.reason_phrase to evaluate based on status_code. 2015-03-12 20:18:06 -04:00
reverse_lookup Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
save_delete_hooks
schema Fixed #24447 -- Made migrations add FK constraints for existing columns 2015-03-07 14:09:56 +01: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 Update converters to take a consistent set of parameters. 2015-02-20 11:35:52 +00:00
serializers_regress Fixed #24320 - Used field.value_to_string() in serialization of foreign key. 2015-02-13 12:37:23 -05:00
servers Fixed typo in error message in the test. 2015-02-19 19:36:20 -05:00
sessions_tests Fixed #24468 -- Made signed cookies cache backend resilient to unpickling exceptions. 2015-03-12 08:19:54 -04: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 #24488 -- Made create_default_site() use default pk of 1. 2015-03-16 13:30:59 -04:00
staticfiles_tests Fixed staticfiles test on Windows; refs #23986. 2015-03-11 14:49:15 -04: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 Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
template_backends Refs #24469 -- Fixed escaping of forms, fields, and media in non-Django templates. 2015-03-18 09:11:01 -04:00
template_loader Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
template_tests Cleaned up the template debug implementation. 2015-03-20 08:58:07 -04:00
templates Cleaned up template loader tests. 2015-02-24 14:00:02 +01:00
test_client Fixed #23960 -- Removed http.fix_location_header 2015-03-18 18:22:50 +01:00
test_client_regress Fixed #23960 -- Removed http.fix_location_header 2015-03-18 18:22:50 +01:00
test_discovery_sample
test_discovery_sample2
test_exceptions
test_runner Refs #24324 -- Fixed Python 2 test failures when path to Django source contains non-ASCII characters. 2015-02-17 19:03:03 -05:00
test_runner_deprecation_app
test_utils Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
timezones Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11: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 Fixed #24476 -- Added context manager/decorator for overriding script prefix. 2015-03-18 13:03:25 -04:00
user_commands Prevented some test commands from needlessly running system checks. 2015-02-11 10:14:38 -05:00
utils_tests Made is_safe_url() reject URLs that start with control characters. 2015-03-18 19:20:07 -04: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 Fixed #22106 -- Allowed using more than one instance of javascript_catalog per project. 2015-03-20 17:27:41 -04: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
README.rst
runtests.py Guaranteed removal of temporary files during tests. 2015-02-23 16:55:26 +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/.