1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests
2016-08-12 13:59:01 -04:00
..
absolute_url_overrides
admin_autodiscover
admin_changelist Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
admin_checks
admin_custom_urls
admin_docs Fixed #24931 -- Made namespaced RegexURLResolvers populate callback strings. 2016-06-18 10:39:32 -04:00
admin_filters Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
admin_inlines Fixed #26729 -- Allowed overriding a form field's label/help_text in Form.__init__() for TabularInline. 2016-06-21 14:26:47 -04:00
admin_ordering
admin_registration
admin_scripts Fixed #26791 -- Replaced LiveServerTestCase port ranges with binding to port 0. 2016-06-23 12:04:05 -04:00
admin_utils Fixed admin_utils test failures due to translation updates. 2016-08-01 15:40:46 -04:00
admin_views Fixed #26919 -- Added the action form's media in the changelist view. 2016-08-11 19:35:31 -04:00
admin_widgets Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
aggregation
aggregation_regress
annotations Fixed #26517 -- Fixed ExpressionWrapper with empty queryset. 2016-08-08 10:43:33 -04:00
app_loading
apps
auth_tests Fixed #26909 -- Allowed UserAttributeSimilarityValidator to validate against model properties. 2016-08-10 15:08:06 -04:00
backends
base
bash_completion
basic Fixed #26787 -- Documented deleting and reloading of model instance fields. 2016-06-21 14:39:17 -04:00
builtin_server
bulk_create Fixed #27026 -- Fixed state initialization of bulk_create() objects if can_return_ids_from_bulk_insert. 2016-08-06 10:24:57 -04:00
cache Made miscellaneous code cleanups 2016-07-21 10:08:19 -04:00
check_framework Refs #26947 -- Added a deployment system check for SECURE_HSTS_PRELOAD. 2016-08-10 20:31:01 -04:00
choices
conditional_processing
contenttypes_tests Refs #18682 -- Edited explanation in stale content type deletion. 2016-08-10 21:19:09 -04:00
context_processors
csrf_tests Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
custom_columns
custom_lookups Fixed #26891 -- Fixed lookup registration for ForeignObject. 2016-08-11 14:16:48 -04:00
custom_managers Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
custom_methods
custom_migration_operations
custom_pk
datatypes
dates
datetimes
db_functions Fixed #26348 -- Added TruncTime and exposed it through the __time lookup. 2016-07-08 12:35:34 -04:00
db_typecasts
dbshell Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name. 2016-06-03 12:30:21 -04:00
decorators Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
defer
defer_regress
delete
delete_regress
deprecation
dispatch
distinct_on_fields
empty
expressions
expressions_case Fixed #26433 -- Fixed Case expressions with empty When. 2016-08-08 10:43:33 -04:00
extra_regress
field_deconstruction
field_defaults
field_subclassing
file_storage Fixed #13809 -- Made FieldFile.open() respect its mode argument. 2016-08-09 12:53:18 -04:00
file_uploads Replaced use of TestCase.fail() with assertRaises(). 2016-06-28 11:21:26 -04:00
files Reverted "Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File." 2016-06-18 11:06:56 -04:00
fixtures Fixed #26826 -- Stripped spaces from dumpdata pks arguments 2016-07-16 20:49:10 +02:00
fixtures_model_package
fixtures_regress Replaced use of TestCase.fail() with assertRaises(). 2016-06-28 11:21:26 -04:00
flatpages_tests
force_insert_update
foreign_object
forms_tests Fixed #27037 -- Prevented required attribute on ClearableFileInput when initial data exists. 2016-08-12 13:59:01 -04:00
from_db_value
generic_inline_admin Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
generic_relations
generic_relations_regress Replaced use of TestCase.fail() with assertRaises(). 2016-06-28 11:21:26 -04:00
generic_views Replaced use of TestCase.fail() with assertRaises(). 2016-06-28 11:21:26 -04:00
get_earliest_or_latest
get_object_or_404
get_or_create Fixed #26933 -- Fixed flaky update_or_create() test from refs #26804. 2016-07-28 21:45:35 -04:00
gis_tests Unified SpatiaLite spelling 2016-08-09 18:46:28 +02:00
handlers Refs #24829 -- Made TemplateResponse.content available sooner in exception context 2016-06-24 10:22:30 +02:00
http_utils
httpwrappers Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
humanize_tests Refs #26712 -- Removed workarounds for PostgreSQL queries on TIME_ZONE changes. 2016-06-06 11:26:21 -04:00
i18n Fixed #27034 -- Made makemessages independent of USE_I18N 2016-08-11 21:16:19 +02:00
import_error_package
indexes Fixed #24442 -- Improved SchemaEditor's index name truncation. 2016-08-11 14:36:31 -04:00
inline_formsets Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
inspectdb Refs #24928 -- Added introspection support for UUIDField 2016-07-20 17:27:29 +02:00
introspection Refs #20888 -- Added index order introspection. 2016-08-12 11:51:09 -04:00
invalid_models_tests Refs #26796 -- Fixed ManyToManyField's limit_choices_to warning without a through model. 2016-07-21 14:29:03 -04:00
known_related_objects
logging_tests Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
lookup
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_regress
m2m_signals
m2m_through
m2m_through_regress
m2o_recursive Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
mail Fixed #27036 -- Made locmem email backend's send_messages() accept generators. 2016-08-08 20:13:29 -04:00
managers_regress Fixed #26749 -- Preserved behavior of use_for_related_field during deprecation. 2016-07-11 13:30:44 -04:00
many_to_many Fixed #26706 -- Made RelatedManager modification methods clear prefetch_related() cache. 2016-08-05 13:32:27 -04:00
many_to_one Fixed #26706 -- Made RelatedManager modification methods clear prefetch_related() cache. 2016-08-05 13:32:27 -04:00
many_to_one_null Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
max_lengths
messages_tests Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
middleware Fixed #26947 -- Added an option to enable the HSTS header preload directive. 2016-08-10 20:23:54 -04:00
middleware_exceptions Fixed #26915 -- Fixed regression handling responses returned from view middleware. 2016-07-25 13:41:50 -04:00
migrate_signals Made miscellaneous code cleanups 2016-07-21 10:08:19 -04:00
migration_test_data_persistence
migrations Fixed #26808 -- Added Meta.indexes for class-based indexes. 2016-08-05 18:12:51 -04:00
migrations2
model_fields Fixed #26900 -- Fixed crash accessing deferred FileFields. 2016-07-16 08:22:24 -04:00
model_forms Fixed #27002 -- Prevented double query when rendering ModelChoiceField. 2016-08-08 13:41:05 -04:00
model_formsets Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
model_formsets_regress
model_indexes Fixed #26808 -- Added Meta.indexes for class-based indexes. 2016-08-05 18:12:51 -04:00
model_inheritance
model_inheritance_regress Fixed #15250 -- Avoided extra query on some multi-table inheritance queries. 2016-06-03 10:18:24 -04:00
model_meta
model_options
model_package
model_permalink
model_regress
model_validation
modeladmin Fixed #19963 -- Added support for date_hierarchy across relations. 2016-06-04 12:14:02 -04:00
multiple_database Replaced use of TestCase.fail() with assertRaises(). 2016-06-28 11:21:26 -04:00
mutually_referential
nested_foreign_keys
no_models
null_fk Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
null_fk_ordering
null_queries
one_to_one Fixed #26667 -- Fixed a regression in queries on a OneToOneField that has to_field and primary_key=True. 2016-06-04 08:04:51 -04:00
or_lookups
order_with_respect_to
ordering
pagination Fixed #26290 -- Warned that paginating an unordered QuerySet may result in inconsistent results. 2016-06-08 14:09:24 -04:00
postgres_tests Fixed #24442 -- Improved SchemaEditor's index name truncation. 2016-08-11 14:36:31 -04:00
prefetch_related Fixed #26916 -- Fixed prefetch_related when using a cached_property as to_attr. 2016-07-19 16:05:07 -04:00
project_template Fixed #5897 -- Added the Content-Length response header in CommonMiddleware 2016-06-27 10:44:57 +02:00
properties
proxy_model_inheritance
proxy_models Replaced use of TestCase.fail() with assertRaises(). 2016-06-28 11:21:26 -04:00
queries Moved EmpytResultSet to django.core.exceptions. 2016-08-08 10:43:34 -04:00
queryset_pickle
raw_query Replaced use of TestCase.fail() with assertRaises(). 2016-06-28 11:21:26 -04:00
redirects_tests
requests Fixed #27046 -- Supported IPv6-formatted IPv4 addresses in host validation. 2016-08-11 13:54:39 -04:00
requirements
reserved_names
resolve_url Refs #17209 -- Added LoginView and LogoutView class-based views 2016-06-24 10:45:13 +02:00
responses
reverse_lookup
save_delete_hooks
schema Fixed #24442 -- Improved SchemaEditor's index name truncation. 2016-08-11 14:36:31 -04:00
select_for_update Refs #22343 -- Corrected a test for missing select_for_update(nowait=True) support. 2016-08-08 13:03:19 -04:00
select_related Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
select_related_onetoone
select_related_regress
serializers Fixed #26656 -- Added duration (timedelta) support to DjangoJSONEncoder. 2016-07-14 13:34:15 -04:00
servers Refs #27025 -- Fixed a servers test on Python 3.6. 2016-08-08 16:50:48 -04:00
sessions_tests Fixed #26764 -- Fixed Session.cycle_key() crash on unaccessed session. 2016-08-08 13:01:25 -04:00
settings_tests Replaced use of TestCase.fail() with assertRaises(). 2016-06-28 11:21:26 -04:00
shell
shortcuts
signals Fixed #26778 -- Fixed ModelSignal.connect() weak argument. 2016-06-18 20:45:38 -04:00
signed_cookies_tests Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
signing
sitemaps_tests Fixed #26290 -- Warned that paginating an unordered QuerySet may result in inconsistent results. 2016-06-08 14:09:24 -04:00
sites_framework
sites_tests Refs #26666 -- Added ALLOWED_HOSTS validation when running tests. 2016-06-20 11:07:46 -04:00
staticfiles_tests Fixed #26671 -- Made HashedFilesMixin ignore the 'chrome' scheme. 2016-07-12 08:20:39 -04:00
str
string_lookup
swappable_models Replaced use of TestCase.fail() with assertRaises(). 2016-06-28 11:21:26 -04:00
syndication_tests
template_backends Fixed #24694 -- Added support for context_processors to Jinja2 backend. 2016-06-28 14:30:54 -04:00
template_loader
template_tests Fixed #26830 -- Prevented the 'with' templatetag from resetting the cycle variable to its initial state. 2016-08-09 09:05:17 -04:00
templates
test_client Fixed #27027 -- Restored Client.force_login() defaulting to the first auth backend. 2016-08-06 08:41:41 -04:00
test_client_regress Fixed #27012 -- Removed unnecessary setup_test_environment() in a test. 2016-08-04 09:35:44 -04:00
test_discovery_sample
test_discovery_sample2
test_exceptions
test_runner Fixed #27035 -- Eased changing settings.DEBUG for DiscoverRunner. 2016-08-09 13:40:29 -04:00
test_utils Fixed #27032 -- Prevented setup_test_environment() from being called twice. 2016-08-08 10:40:29 -04:00
timezones Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
transaction_hooks
transactions
unmanaged_models
update Fixed #19513, #18580 -- Fixed crash on QuerySet.update() after annotate(). 2016-06-29 14:08:13 -04:00
update_only_fields
urlpatterns_reverse Fixed #26888 -- Fixed concurrency issue in URL resolver. 2016-07-14 14:41:52 -04:00
user_commands Made miscellaneous code cleanups 2016-07-21 10:08:19 -04:00
utils_tests Refs #27025 -- Fixed a couple timezone tests for Python 3.6. 2016-08-09 18:14:15 -04:00
validation Replaced use of TestCase.fail() with assertRaises(). 2016-06-28 11:21:26 -04:00
validators Refs #21548 -- Skipped tests that rely on pillow when it's not installed 2016-07-02 15:46:16 +02:00
version
view_tests Fixed #26973 -- Fixed views.static.serve() crash with show_indexes enabled. 2016-08-10 11:27:03 -04:00
wsgi Improved test assertion in wsgi tests 2016-06-28 12:02:51 +02:00
.coveragerc
README.rst
runtests.py Made miscellaneous code cleanups 2016-07-21 10:08:19 -04:00
test_sqlite.py
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/.