1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests
2015-07-03 11:34:34 -04:00
..
absolute_url_overrides Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
admin_autodiscover Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_changelist Fixed #21927 -- Made application and instance namespaces more distinct. 2015-06-08 15:12:20 -04:00
admin_checks Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
admin_custom_urls Fixed #21927 -- Made application and instance namespaces more distinct. 2015-06-08 15:12:20 -04:00
admin_docs Refs #24125 -- Added admin_docs tests for multiple template engines. 2015-06-11 20:26:27 -04:00
admin_filters Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_inlines Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
admin_ordering Refs #24553 -- Isolated admin_* tests. 2015-05-14 09:57:13 -04:00
admin_registration Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
admin_scripts Fixed #24971 -- Made startapp generate an apps.py 2015-06-16 07:08:04 -04:00
admin_utils Fixed #24962 -- Added newline to characters escaped by contrib.admin.utils.quote() 2015-06-18 16:10:44 -04:00
admin_views Fixed #25032 -- Removed double redirect in admin login. 2015-07-03 08:53:10 -04:00
admin_widgets Refs #25006 -- Added a '6 p.m.' option to the admin's time picker. 2015-06-22 07:24:57 -04:00
aggregation Fixed #24887 -- Removed one-arg limit from models.aggregate 2015-06-27 11:44:33 -04:00
aggregation_regress Fixed #18247 -- Added cast to NUMERIC for Decimals on sqlite 2015-06-30 18:27:42 -04:00
annotations Fixed #24835 -- Fixed QuerySet.exists() after an annotation with Count() 2015-05-25 20:46:20 -04:00
app_loading Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
apps Refs #23621 -- Fixed warning message when reloading models. 2015-06-30 15:00:10 -04:00
auth_tests Fixed #25029 -- Added PersistentRemoteUserMiddleware for login-page-only external authentication. 2015-07-02 17:38:10 -04:00
backends Cleanup: Removed the try-except-fail antipattern from tests 2015-06-05 12:57:20 +03:00
base
bash_completion
basic Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
builtin_server Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
bulk_create Fixed #24997 -- Enabled bulk_create() on proxy models 2015-07-02 13:53:51 -04:00
cache Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
check_framework Fixed tests from refs #24922 when run in reverse. 2015-06-08 08:15:41 -04:00
choices Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
conditional_processing Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
contenttypes_tests Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 2015-03-18 19:00:09 -04:00
context_processors Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
createsuperuser
csrf_tests Fixed #24836 -- Made force_text() resolve lazy objects. 2015-05-27 09:48:53 -04:00
custom_columns Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
custom_lookups Fixed #24744 - Fixed relabeled_clone for the Transform 2015-06-06 09:04:53 -04:00
custom_managers Fixed #24911 -- Made BaseManager.get_queryset() allow custom queryset args. 2015-06-30 13:48:30 -04:00
custom_methods Renamed value_to_db_xxx to adapt_xxxfield_value. 2015-05-17 09:39:34 +02:00
custom_migration_operations
custom_pk Update converters to take a consistent set of parameters. 2015-02-20 11:35:52 +00:00
datatypes Used assertIsInstance in tests. 2015-04-27 08:40:36 -04:00
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 Fixed tests for refs #24767 on databases that don't support microseconds. 2015-06-08 11:03:10 -04:00
db_typecasts Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
dbshell Refs #23658 -- Fixed unclosed file in dbshell tests. 2015-07-01 13:45:02 -04:00
decorators Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator. 2015-04-28 12:07:02 -04:00
defer Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
defer_regress Used assertIsInstance in tests. 2015-04-27 08:40:36 -04:00
delete Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted objects. 2015-05-22 13:27:16 -04:00
delete_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
deprecation Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
dispatch Used assertIsInstance in tests. 2015-04-27 08:40:36 -04:00
distinct_on_fields Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
empty
expressions Added comment to test_query_clone indicating lack of assert is intentional. 2015-06-05 00:51:49 -04:00
expressions_case Fixed #24924 -- Join promotion for multiple Case expressions 2015-06-05 12:22:43 -04:00
extra_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
field_deconstruction Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
field_defaults
field_subclassing Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
file_storage Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
file_uploads Refs #24652 -- Fixed a test failure in file_uploads tests on Windows. 2015-05-25 19:09:01 -04:00
files Fixed #24963 -- Added File.seekable() on Python 3. 2015-06-12 10:17:21 -04:00
fixtures Refs #24978 -- Amended test filename to avoid checkout warnings on Windows. 2015-06-20 14:22:57 -04: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 Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
force_insert_update Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
foreign_object Renamed Field.rel attribute to remote_field 2015-03-25 08:16:12 -04:00
forms_tests Fixed #4960 -- Added "strip" option to CharField 2015-07-01 17:47:05 -04:00
from_db_value Refs #9619 -- Fixed failing test case 2015-06-17 20:07:00 +02:00
generic_inline_admin Fixed #24940 -- Made model managers hashable 2015-06-19 19:02:01 +02:00
generic_relations Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
generic_relations_regress Refs #24267 -- Implemented lookups for related fields 2015-03-25 08:05:22 -04:00
generic_views Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04: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 Refs #22728 - Added missing tests for defaults__exact case 2015-06-05 09:22:49 +01:00
gis_tests Pushed GDAL skip condition inside test 2015-06-26 14:57:45 +02:00
handlers Fixed #24829 -- Allowed use of TemplateResponse in view error handlers. 2015-06-17 17:11:50 -04:00
http_utils Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
httpwrappers Fixed #25019 -- Added UUID support in DjangoJSONEncoder 2015-06-24 18:41:25 +02:00
humanize_tests Moved contrib.humanize tests out of contrib. 2015-02-11 10:19:22 -05:00
i18n Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
import_error_package
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 Fixed #25055 -- Made m2m long name testing friendlier for 3rd party databases. 2015-07-03 09:00:08 -04:00
known_related_objects Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
logging_tests Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
lookup Fixed #22316 -- Added time filters to TimeField on SQLite. 2015-06-04 22:27:13 -04: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 Fixed #24505 -- Fixed clash with hidden m2m fields. 2015-03-26 19:00:37 -04:00
m2m_signals Refs #18586 -- Split up tests/m2m_signals 2015-03-22 13:21:08 +01:00
m2m_through Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
m2m_through_regress Refs #18586 -- Split up tests.m2m_through_regress 2015-03-24 12:54:16 -04:00
m2o_recursive
mail Fixed #24970 -- Added --managers and --admins options to the sendtestemail management command. 2015-06-22 07:21:26 -04:00
managers_regress Used assertRaisesMessage in managers_regress tests. 2015-07-02 14:23:28 -04:00
many_to_many Fixed #24156 -- Fixed inherited related name of ManyToManyField. 2015-05-12 19:14:55 -04:00
many_to_one Renamed Field.rel attribute to remote_field 2015-03-25 08:16:12 -04:00
many_to_one_null
max_lengths Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
messages_tests Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
middleware Removed unused code after refs #25017. 2015-06-27 10:08:59 -04:00
middleware_exceptions Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04: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 #25040 -- Fixed migrations state crash with GenericForeignKey 2015-07-02 12:48:29 -04:00
migrations2
model_fields Fixed flake8 warnings on Python 3. 2015-06-15 11:27:09 -04:00
model_forms Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
model_formsets Fixed #24958 -- Fixed inline forms using UUID-PK parents with auto-PK children. 2015-06-26 09:09:09 -04: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 Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
model_options Renamed Field.rel attribute to remote_field 2015-03-25 08:16:12 -04:00
model_package Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
model_permalink Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
model_regress Fixed model_regress test failure on non-ASCII path; refs #24717. 2015-04-30 07:48:21 -04:00
model_validation Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
modeladmin Fixed #24908 -- Fixed duplicate readonly field rendering. 2015-07-02 13:37:30 -04:00
multiple_database Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
mutually_referential
nested_foreign_keys Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
no_models Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
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 #23791 -- Corrected object type check for pk__in=qs 2015-06-29 07:49:31 -04:00
or_lookups
order_with_respect_to Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
ordering Fixed #24654 -- Based ordering circular references detection on columns. 2015-04-20 15:49:58 -04:00
pagination Fixed #23190 -- Made Paginator.page_range an iterator 2015-07-03 11:34:34 -04:00
postgres_tests Fixed #24894 -- Added contrib.postgres.functions.TransactionNow 2015-06-15 14:03:17 -04:00
prefetch_related Fixed #24873 -- Prevented nested Prefetch objects from being overwritten. 2015-06-18 15:42:47 -04:00
project_template Removed support for Python 3.3. 2015-06-18 08:36:50 -04:00
properties
proxy_model_inheritance Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
proxy_models Fixed #21927 -- Made application and instance namespaces more distinct. 2015-06-08 15:12:20 -04:00
queries Fixed flake8 warnings on Python 3. 2015-06-15 11:27:09 -04:00
queryset_pickle Fixed #24831 -- Fixed pickling queryset with prefetch_related() after deleting objects. 2015-06-02 09:54:53 -04: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 #25056 -- Documented minimum version of jinja2 for testing. 2015-07-03 08:20:53 -04:00
reserved_names
resolve_url Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04: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 Refs #25002 -- Supported textual to temporal column alteration on Oracle. 2015-06-24 19:37:55 -04:00
select_for_update Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
select_related Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
select_related_onetoone Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
select_related_regress Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
serializers Refs #25050 -- Corrected test assertion in serializers test. 2015-07-03 08:03:20 -04:00
serializers_regress Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
servers Fixed #24965 -- Made LiveServerTestCase.live_server_url accessible from class 2015-06-12 17:44:54 -04:00
sessions_tests Fixed #24915 -- Added stricter session key validation 2015-06-06 20:04:20 -04:00
settings_tests Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
shortcuts Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
signals
signed_cookies_tests Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
signing Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
sitemaps_tests Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
sites_framework Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
sites_tests Fixed reverse sites_tests failures introduced in refs #24834. 2015-06-18 16:25:32 -04:00
staticfiles_tests Fixed #24982 -- Split staticfiles tests into multiple files 2015-07-01 09:41:27 -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 Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
template_loader Fixed #24119, #24120 -- Formalized debug integration for template backends. 2015-05-06 17:33:47 -05:00
template_tests Fixed #21695 -- Added asvar option to blocktrans. 2015-07-01 10:03:00 -04:00
templates Cleaned up template loader tests. 2015-02-24 14:00:02 +01:00
test_client Fixed #20916 -- Added Client.force_login() to bypass authentication. 2015-07-01 13:01:08 -04:00
test_client_regress Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
test_discovery_sample
test_discovery_sample2
test_exceptions
test_runner Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
test_runner_deprecation_app
test_utils Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
timezones Fixed #21927 -- Made application and instance namespaces more distinct. 2015-06-08 15:12:20 -04:00
transaction_hooks Fixed #21803 -- Added support for post-commit callbacks 2015-06-30 14:51:00 -04: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 Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
user_commands Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
utils_tests Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
validation Fixed #24708 -- Handled non-string values in GenericIPAddressField.to_python() 2015-05-06 07:03:31 -04:00
validators Fixed #24349 -- Limited domain name labels to 63 characters in EmailValidator 2015-04-17 18:08:33 -04:00
version
view_tests Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -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 Improved coverage configuration 2015-06-23 21:17:37 +02:00
README.rst
runtests.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04: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/.