1
0
mirror of https://github.com/django/django.git synced 2025-01-09 09:55:57 +00:00
django/tests
2025-01-07 11:42:06 +01:00
..
absolute_url_overrides
admin_autodiscover
admin_changelist
admin_checks
admin_custom_urls
admin_default_site
admin_docs Fixed #17905 -- Restricted access to model pages in admindocs. 2024-11-11 16:56:03 +01:00
admin_filters
admin_inlines Fixed #34619 -- Associated FilteredSelectMultiple elements to their label and help text. 2024-11-20 13:23:18 +01:00
admin_ordering
admin_registration Fixed #373 -- Added CompositePrimaryKey. 2024-11-29 11:23:04 +01:00
admin_scripts Fixed #35920 -- Observed requires_system_checks in migrate and runserver. 2024-12-11 17:25:47 +01:00
admin_utils
admin_views Refs #35520 -- Fixed expected query count in admin_views tests. 2024-12-17 14:40:34 +01:00
admin_widgets Fixed #35791 -- Updated icon button dimensions to 24x24 pixels. 2024-11-29 08:31:06 +01:00
aggregation
aggregation_regress
annotations
app_loading Used addCleanup() in tests where appropriate. 2023-12-31 10:01:31 +01:00
apps
asgi Refs #33735 -- Captured stderr during ASGITest.test_file_response. 2024-11-27 11:00:05 +01:00
async Fixed #35530 -- Deprecated request.user fallback in auth.login and auth.alogin. 2024-11-28 17:43:46 +01:00
auth_tests Fixed #35530 -- Deprecated request.user fallback in auth.login and auth.alogin. 2024-11-28 17:43:46 +01:00
backends Fixed #7732 -- Added support for connection pools on Oracle. 2024-12-17 11:26:32 +01:00
base
bash_completion
basic
builtin_server
bulk_create
cache
check_framework Fixed #35656 -- Added an autodetector attribute to the makemigrations and migrate commands. 2024-10-15 16:39:12 +02:00
composite_pk Refs #36042 -- Raised ValueError when providing composite expressions to aggregates. 2025-01-07 11:42:06 +01:00
conditional_processing
constraints
contenttypes_tests Fixed #35950 -- Restored refreshing of relations when fields deferred. 2024-12-02 16:01:37 +01:00
context_processors
csrf_tests
custom_columns
custom_lookups
custom_managers
custom_methods
custom_migration_operations
custom_pk
datatypes
dates
datetimes
db_functions Fixed #35718 -- Add JSONArray to django.db.models.functions. 2025-01-06 10:08:32 +01:00
db_typecasts Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
db_utils
dbshell Fixed #18392 -- Changed default mysql encoding to "utf8mb4". 2024-11-18 15:00:33 +01:00
decorators
defer Fixed #35950 -- Restored refreshing of relations when fields deferred. 2024-12-02 16:01:37 +01:00
defer_regress
delete Added missing test for QuerySet.delete() when raising EmptyResultSet. 2025-01-02 23:49:49 -03:00
delete_regress
deprecation
dispatch
distinct_on_fields
empty
empty_models
expressions
expressions_case
expressions_window
extra_regress
field_deconstruction
field_defaults
field_subclassing
file_storage Fixed #35740 -- Fixed FileFieldStorageTests.test_extended_length_storage when using bcachefs. 2025-01-03 08:40:48 +01:00
file_uploads Fixed CVE-2024-39330 -- Added extra file name validation in Storage's save method. 2024-07-09 09:21:19 -03:00
files
filtered_relation Fixed #36029 -- Handled implicit exact lookups in condition depth checks for FilteredRelation. 2025-01-03 08:40:13 +01:00
fixtures
fixtures_model_package
fixtures_regress
flatpages_tests
force_insert_update
foreign_object Fixed #36048 -- Preferred ValueError to NotSupportedError for composite pk sanity checks. 2025-01-06 09:33:27 +01:00
forms_tests Fixed #32819 -- Added aria-describedby to fields with errors. 2025-01-02 16:40:39 +01:00
from_db_value
generic_inline_admin
generic_relations
generic_relations_regress Fixed #34816 -- Fixed GenericForeignKey crash when checking cache for primary keys with different types. 2023-09-08 08:47:11 +02:00
generic_views Refs #26007 -- Improved the ImproperlyConfigured error message for SingleObjectTemplateResponseMixin.get_template_names(). 2024-12-18 13:08:14 +01:00
get_earliest_or_latest Fixed #33772 -- Added QuerySet.first()/last() error message on unordered queryset with aggregation. 2022-06-14 12:24:43 +02:00
get_object_or_404
get_or_create
gis_tests Fixed #35989 -- Removed crs from GeoJSON serializer. 2024-12-11 10:45:47 +01:00
handlers
httpwrappers Fixed #35784 -- Added support for preserving the HTTP request method in HttpResponseRedirectBase. 2024-11-14 15:53:49 -03:00
humanize_tests
i18n Fixed #35973 -- Improved makemessages locale validation to handle numeric region codes. 2024-12-09 08:32:11 +01:00
import_error_package
indexes
inline_formsets Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
inspectdb Fixed #36052 -- Supported CompositePrimaryKey in inspectdb. 2025-01-03 16:28:21 +01:00
introspection
invalid_models_tests Fixed #36034 -- Added system check for ForeignKey/ForeignObject/ManyToManyField to CompositePrimaryKeys. 2025-01-02 13:06:47 +01:00
known_related_objects
logging_tests
lookup
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_regress
m2m_signals
m2m_through
m2m_through_regress
m2o_recursive
mail Refs #35581 -- Added tests for email parameters, attachments, MIME structure, bcc header, encoding and sending. 2024-12-03 11:17:12 +01:00
managers_regress
many_to_many
many_to_one
many_to_one_null
max_lengths
messages_tests
middleware
middleware_exceptions
migrate_signals
migration_test_data_persistence Fixed #35921 -- Fixed failure when running tests in parallel on postgres. 2024-11-27 12:51:41 +01:00
migrations Fixed #35991 -- Fixed crash when adding non-nullable field after renaming part of CompositePrimaryKey on SQLite. 2024-12-27 09:55:42 -03:00
migrations2
model_enums
model_fields Fixed #35982 -- Made DecimalField.get_db_prep_value() call DatabaseOperations.adapt_decimalfield_value(). 2024-12-09 09:46:06 +01:00
model_forms Refs #35844 -- Fixed OtherModelFormTests.test_prefetch_related_queryset() test on Python 3.14+. 2024-12-20 14:18:10 +01:00
model_formsets
model_formsets_regress
model_indexes
model_inheritance
model_inheritance_regress
model_meta
model_options
model_package
model_regress
model_utils
modeladmin
multiple_database
mutually_referential
nested_foreign_keys
no_models
null_fk
null_fk_ordering
null_queries
one_to_one
or_lookups
order_with_respect_to
ordering
pagination
postgres_tests Refs #35444 -- Deprecated contrib.postgres aggregates ordering for order_by. 2025-01-06 09:39:21 +01:00
prefetch_related
project_template
properties
proxy_model_inheritance
proxy_models
queries Fixed #35011, Refs #28900 -- Added tests for QuerySet.union() with multiple models and DateTimeField annotations. 2024-11-08 13:16:44 +01:00
queryset_pickle
raw_query
redirects_tests
requests_tests
requirements Fixed #7732 -- Added support for connection pools on Oracle. 2024-12-17 11:26:32 +01:00
reserved_names
resolve_url
responses
reverse_lookup
save_delete_hooks
schema
select_for_update
select_related
select_related_onetoone Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships. 2023-06-01 19:50:47 +01:00
select_related_regress
serializers Fixed #35996 -- Fixed database serialization crash when serializing a many-to-many field that had a prefetch. 2024-12-18 10:39:20 +01:00
servers
sessions_tests
settings_tests
shell
shortcuts Fixed #35784 -- Added support for preserving the HTTP request method in HttpResponseRedirectBase. 2024-11-14 15:53:49 -03:00
signals
signed_cookies_tests
signing Refs #33199 -- Removed support for passing positional arguments to Signer/TimestampSigner. 2023-09-18 22:12:40 +02:00
sitemaps_tests
sites_framework
sites_tests
sphinx
staticfiles_tests
str
string_lookup
swappable_models Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
syndication_tests
template_backends
template_loader
template_tests Fixed #35493 -- Allowed template self-inclusion with relative paths. 2024-12-06 10:44:10 +01:00
templates
test_client Fixed #35414 -- Used default headers in AsyncRequestFactory. 2025-01-03 08:41:34 +01:00
test_client_regress Fixed a typo in some tests. 2024-11-11 14:47:04 +01:00
test_exceptions
test_runner Removed redundant RemoteTestResultTest._test_error_exc_info() test hook. 2024-11-11 12:31:48 +01:00
test_runner_apps
test_utils Fixed a typo in some tests. 2024-11-11 14:47:04 +01:00
timezones
transaction_hooks
transactions
unmanaged_models
update
update_only_fields
urlpatterns
urlpatterns_reverse Fixed #25582 -- Added support for query and fragment to django.urls.reverse(). 2024-12-11 16:40:28 -03:00
user_commands Fixed #36056 -- Made OutputWrapper a virtual subclass of TextIOBase. 2025-01-04 00:29:53 -03:00
utils_tests Fixed #36023 -- Handled controls chars in content_disposition_header. 2025-01-07 09:22:09 +01:00
validation
validators Refs #36007 -- Added IDNA 2008 test case for URLValidator. 2024-12-13 16:10:34 +01:00
version
view_tests
wsgi
xor_lookups
.coveragerc
README.rst
runtests.py Fixed #35952 -- Used class property for available apps check on TransactionTestCase. 2024-12-04 09:36:40 +01:00
sitecustomize.py
test_sqlite.py
urls.py

To run the test suite, first, create and activate a virtual environment. Then
install some requirements and run the tests::

    $ cd tests
    $ python -m pip install -e ..
    $ python -m pip install -r requirements/py3.txt
    $ ./runtests.py

For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.