1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests
Eliana Rosselli c83c639ba0 Fixed #34909 -- Associated links in admin navigation sidebar with row descriptions.
This adds aria-describedby attribute to the models' links in the admin
navigation sidebar.

Thanks Thibaud Colas for the review.

Co-authored-by: Dara Silvera <dsilvera@octobot.io>
2023-12-15 21:01:00 +01:00
..
absolute_url_overrides Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
admin_autodiscover Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
admin_changelist Fixed #34462 -- Made admin log actions in bulk. 2023-10-31 18:06:44 +01:00
admin_checks Fixed #9602 -- Added AdminSite.get_model_admin(). 2023-07-07 08:06:01 +02:00
admin_custom_urls Fixed #33028 -- Used ModelAdmin's opts attribute instead of model._meta. 2022-06-22 07:50:24 +02:00
admin_default_site Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
admin_docs Fixed #34919 -- Added scope attribute to admindocs model templates. 2023-11-14 05:34:56 +01:00
admin_filters Fixed #1873 -- Handled multi-valued query parameters in admin changelist filters. 2023-03-16 08:38:44 +01:00
admin_inlines Fixed #32819 -- Established relationship between form fields and their help text. 2023-07-06 08:03:19 +02:00
admin_ordering Fixed #9602 -- Added AdminSite.get_model_admin(). 2023-07-07 08:06:01 +02:00
admin_registration Refs #9602 -- Moved AlreadyRegistered/NotRegistered exceptions to django.contrib.admin.exceptions. 2023-07-07 13:22:06 +02:00
admin_scripts Fixed #34778 -- Avoided importing modules in startapp/startproject. 2023-09-01 13:24:05 +02:00
admin_utils Fixed #34462 -- Made admin log actions in bulk. 2023-10-31 18:06:44 +01:00
admin_views Fixed #34909 -- Associated links in admin navigation sidebar with row descriptions. 2023-12-15 21:01:00 +01:00
admin_widgets Refs #34995 -- Made Selenium tests more robust for admin_views and admin_widgets suites. 2023-11-30 10:39:10 -03:00
aggregation Fixed #34013 -- Added QuerySet.order_by() support for annotation transforms. 2023-12-12 05:51:33 +01:00
aggregation_regress Fixed #34176 -- Fixed grouping by ambiguous aliases. 2023-01-09 10:52:51 +01:00
annotations Fixed #34437 -- Made values() resolving error mention selected annotations. 2023-03-25 20:22:45 +01:00
app_loading Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
apps Fixed #34849 -- Avoided raising RuntimeWarning about import-time queries when apps are reinitialized with test tools. 2023-09-25 08:17:03 +02:00
asgi Fixed #34752 -- Fixed handling ASGI http.disconnect for streaming responses. 2023-09-11 19:53:21 +02:00
async Fixed #34331 -- Added QuerySet.aiterator() support for prefetch_related(). 2023-07-31 21:17:36 +02:00
auth_tests Fixed CVE-2023-46695 -- Fixed potential DoS in UsernameField on Windows. 2023-11-01 06:10:30 +01:00
backends Refs #34986 -- Fixed backends.postgresql.test_server_side_cursors.ServerSideCursorsPostgres tests for PyPy. 2023-12-07 09:43:20 +01:00
base Sorted imports per isort 4.2.9. 2017-06-01 13:23:48 -04:00
bash_completion Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
basic Refs #34925 -- Avoided altering passed by reference refresh_from_db(fields). 2023-11-25 17:01:14 +01:00
builtin_server Fixed #33865 -- Optimized LimitedStream wrapper. 2023-01-05 19:26:56 +01:00
bulk_create Fixed #34698 -- Made QuerySet.bulk_create() retrieve primary keys when updating conflicts. 2023-07-10 13:17:28 +02:00
cache Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
check_framework Fixed #34691 -- Added system check for unmatched angle brackets in path(). 2023-07-11 11:59:27 +02:00
conditional_processing Updated documentation and comments for RFC updates. 2022-11-10 13:52:17 +01:00
constraints Refs #34840 -- Fixed test_validate_nullable_textfield_with_isnull_true() on databases that don's support table check constraints. 2023-10-12 20:01:44 +02:00
contenttypes_tests Fixed #33651 -- Added support for prefetching GenericForeignKey. 2023-09-18 13:23:21 +02:00
context_processors Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
csrf_tests Corrected logger in CsrfViewMiddlewareTestMixin.test_ensures_csrf_cookie_no_logging(). 2023-09-13 13:49:01 +02:00
custom_columns Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
custom_lookups Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
custom_managers Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
custom_methods Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
custom_migration_operations Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
custom_pk Removed unnecessary trailing commas in tests. 2023-08-22 12:42:57 +02:00
datatypes Refs #32365 -- Removed internal uses of utils.timezone.utc alias. 2022-03-24 06:29:50 +01:00
dates Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. 2022-10-07 13:05:35 +02:00
datetimes Refs #32365 -- Removed support for pytz timezones per deprecation timeline. 2023-01-17 11:49:15 +01:00
db_functions Fixed #34013 -- Added QuerySet.order_by() support for annotation transforms. 2023-12-12 05:51:33 +01:00
db_typecasts Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
db_utils Fixed #33308 -- Added support for psycopg version 3. 2022-12-15 06:17:57 +01:00
dbshell Fixed #33817 -- Added support for python-oracledb and deprecated cx_Oracle. 2023-08-10 10:11:53 +02:00
decorators Refs #31949 -- Made make_middleware_decorator to work with async functions. 2023-09-13 11:41:01 +02:00
defer Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names. 2023-04-05 05:38:10 +02:00
defer_regress Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships. 2023-06-01 19:50:47 +01:00
delete Fixed random delete.tests.DeletionTests.test_deletion_order failures. 2022-12-30 12:22:30 +01:00
delete_regress Refs #32433 -- Reallowed calling QuerySet.delete() after distinct(). 2023-07-07 07:08:28 +02:00
deprecation Refs #26029 -- Removed DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. 2023-09-18 22:12:40 +02:00
dispatch Refs #34986 -- Moved garbage_collect() helper to django.test.utils. 2023-12-06 09:26:11 +01:00
distinct_on_fields Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
empty Fixed #23620 -- Used more specific assertions in the Django test suite. 2014-11-03 11:56:37 -05:00
empty_models Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
expressions Reverted "Refs #30446, Refs #34944 -- Fixed crash when adding GeneratedField with string Value()." 2023-11-14 15:45:43 +01:00
expressions_case Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
expressions_window Fixed #34987 -- Fixed queryset crash when mixing aggregate and window annotations. 2023-11-23 06:09:08 +01:00
extra_regress Fixed #30382 -- Allowed specifying parent classes in force_insert of Model.save(). 2023-06-29 21:52:52 +02:00
field_deconstruction Fixed #31262 -- Added support for mappings on model fields and ChoiceField's choices. 2023-08-30 22:57:40 -03:00
field_defaults Fixed #34936 -- Fixed migration crash for DecimalField with db_default on SQLite. 2023-11-02 17:57:39 +01:00
field_subclassing Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
file_storage Refs #26029 -- Removed DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. 2023-09-18 22:12:40 +02:00
file_uploads Fixed #34968 -- Made multipart parsing of headers raise an error on too long headers. 2023-11-24 12:06:54 +01:00
files Fixed #34642 -- Added File.open() support for *args and **kwargs. 2023-09-11 06:07:47 +02:00
filtered_relation Fixed #34362 -- Fixed FilteredRelation() crash on conditional expressions. 2023-08-11 12:32:18 +02:00
fixtures Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
fixtures_model_package Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
fixtures_regress Fixed some typos in comments, docstrings, and tests. 2023-03-20 08:07:23 +01:00
flatpages_tests Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
force_insert_update Fixed #30382 -- Allowed specifying parent classes in force_insert of Model.save(). 2023-06-29 21:52:52 +02:00
foreign_object Refs #16055 -- Deprecated get_joining_columns()/get_reverse_joining_columns() methods. 2023-04-18 12:46:27 +02:00
forms_tests Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting. 2023-11-28 20:04:21 +01:00
from_db_value Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
generic_inline_admin Removed unnecessary trailing commas in tests. 2023-08-22 12:42:57 +02:00
generic_relations Fixed #33651 -- Added support for prefetching GenericForeignKey. 2023-09-18 13:23:21 +02:00
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 #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +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 Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
get_or_create Fixed #34280 -- Allowed specifying different field values for create operation in QuerySet.update_or_create(). 2023-02-14 11:50:35 +01:00
gis_tests Fixed #34305 -- Changed GeoIP2 tests to use MaxMind test databases. 2023-12-12 09:58:26 +01:00
handlers Fixed #34394 -- Added FORCE_SCRIPT_NAME handling to ASGIRequest. 2023-04-12 12:50:48 +02:00
httpwrappers Refs #34233 -- Used aiter() and anext(). 2023-01-18 13:45:07 +01:00
humanize_tests Fixed #33879 -- Improved timesince handling of long intervals. 2023-01-04 11:14:06 +01:00
i18n Fixed #34952 -- Copied dir list when processing locale folders to avoid missing entries during os.walk traversal. 2023-11-13 14:03:48 -03: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 Refs #27236 -- Removed Meta.index_together per deprecation timeline. 2023-09-18 22:12:40 +02:00
inline_formsets Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
inspectdb Fixed #33143 -- Raised RuntimeWarning when performing import-time queries. 2023-08-21 13:44:25 +02:00
introspection Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
invalid_models_tests Refs #34944 -- Propagated system checks for GeneratedField.output_field. 2023-11-14 20:22:07 +01:00
known_related_objects Fixed #34227 -- Fixed QuerySet.select_related() with multi-level FilteredRelation. 2023-01-24 10:20:27 +01:00
logging_tests Refs #34074 -- Used headers argument for RequestFactory and Client in docs and tests. 2023-01-04 09:11:36 +01:00
lookup Fixed #35018 -- Fixed migrations crash on GeneratedField with BooleanField as output_field on Oracle < 23c. 2023-12-12 05:39:11 +01:00
m2m_and_m2o Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
m2m_intermediary Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
m2m_multiple Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
m2m_recursive Relaxed some query ordering assertions in various tests. 2022-04-14 12:12:13 +02:00
m2m_regress Fixed #33984 -- Reverted "Fixed #32980 -- Made models cache related managers." 2022-09-30 18:18:33 +02:00
m2m_signals Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
m2m_through Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
m2m_through_regress Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
m2o_recursive Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
mail Fixed #34904 -- Prevented mutating sent emails from outbox in locmem email backend. 2023-10-25 08:52:31 +02:00
managers_regress Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
many_to_many Fixed #33651 -- Added support for prefetching GenericForeignKey. 2023-09-18 13:23:21 +02:00
many_to_one Fixed #34633 -- Made create() method of reverse many-to-one managers clear prefetch_related() cache. 2023-11-28 05:46:04 +01:00
many_to_one_null Fixed #19580 -- Unified behavior of reverse foreign key and many-to-many relations for unsaved instances. 2022-02-22 09:16:40 +01:00
max_lengths Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
messages_tests Fixed #34958 -- Fixed isolation of messages_tests.tests.TestLevelTags.test_lazy. 2023-11-13 09:35:57 +01:00
middleware Fixed #34742 -- Made CommonMiddleware raise APPEND_SLASH RuntimeError on DELETE requests. 2023-12-08 05:56:36 +01:00
middleware_exceptions Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
migrate_signals Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
migration_test_data_persistence
migrations Fixed #26827 -- Improved ModelState error message when relations refer model classes. 2023-11-23 21:17:44 +01:00
migrations2 Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
model_enums Refs #34986 -- Removed redundant CustomChoicesTests.test_timezone_unsupported(). 2023-11-29 21:12:53 +01:00
model_fields Fixed #35019 -- Fixed save() on models with both GeneratedFields and ForeignKeys. 2023-12-08 09:46:11 +01:00
model_forms Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting. 2023-11-28 20:04:21 +01:00
model_formsets Fixed #34532 -- Made formset_factory() respect Form's default_renderer. 2023-07-24 09:09:53 +02:00
model_formsets_regress Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
model_indexes Fixed #33773 -- Made Index with multiple fields respect DEFAULT_INDEX_TABLESPACE. 2022-06-13 07:21:46 +02:00
model_inheritance Refs #34634 -- Fixed creating diamond-shaped MTI objects with ancestors inherited from different paths. 2023-06-20 08:40:35 +02:00
model_inheritance_regress Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
model_meta Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
model_options Refs #27236 -- Reverted AlterIndexTogether deprecation. 2022-07-26 11:41:19 +02:00
model_package Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
model_regress Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
model_utils Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
modeladmin Fixed #35020 -- Fixed ModelAdmin.lookup_allowed() for non-autofield primary keys. 2023-12-07 06:16:35 +01:00
multiple_database Fixed #33985 -- Used app_config.verbose_name in ContentType.__str__(). 2023-03-09 10:27:08 +01:00
mutually_referential Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
nested_foreign_keys Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
no_models Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
null_fk Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
null_fk_ordering Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
null_queries Fixed #19580 -- Unified behavior of reverse foreign key and many-to-many relations for unsaved instances. 2022-02-22 09:16:40 +01:00
one_to_one Fixed #33651 -- Added support for prefetching GenericForeignKey. 2023-09-18 13:23:21 +02:00
or_lookups Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
order_with_respect_to Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
ordering Fixed #34372 -- Fixed queryset crash on order by aggregation using OrderBy. 2023-02-27 07:10:19 +01:00
pagination Improved style of n-tuple wording in docs and comments. 2023-06-23 09:29:35 +02:00
postgres_tests Fixed #34013 -- Added QuerySet.order_by() support for annotation transforms. 2023-12-12 05:51:33 +01:00
prefetch_related Fixed #34889 -- Fixed get_prefetch_queryset() fallback in prefetch_one_level(). 2023-10-06 20:18:41 +02:00
project_template Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
properties Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
proxy_model_inheritance Removed redundant QuerySet.all() calls in docs and tests. 2022-02-22 10:29:38 +01:00
proxy_models Fixed #33816 -- Fixed QuerySet.only() after select_related() crash on proxy models. 2022-07-04 06:37:36 +02:00
queries Fixed #34013 -- Added QuerySet.order_by() support for annotation transforms. 2023-12-12 05:51:33 +01:00
queryset_pickle Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
raw_query Fixed various tests on MySQL with MyISAM storage engine. 2022-04-18 07:05:52 +02:00
redirects_tests Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
requests_tests Refs #21442 -- Increased test coverage of requests. 2023-11-28 09:33:59 +01:00
requirements Refs #34986 -- Used non-binary build of psycopg for PyPy. 2023-12-07 09:21:37 +01:00
reserved_names Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
resolve_url Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
responses Added tests for HttpResponseBase.charset/reason_phrase setters. 2023-06-10 20:43:05 +02:00
reverse_lookup Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
save_delete_hooks Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
schema Refs #32503 -- Added assertion for effective default value when altering TextField to non-nullable with default. 2023-12-14 10:53:37 +01:00
select_for_update Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
select_related Removed redundant QuerySet.all() calls in docs and tests. 2022-02-22 10:29:38 +01:00
select_related_onetoone Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships. 2023-06-01 19:50:47 +01:00
select_related_regress Removed redundant QuerySet.all() calls in docs and tests. 2022-02-22 10:29:38 +01:00
serializers Removed unnecessary trailing commas in tests. 2023-08-22 12:42:57 +02:00
servers Fixed ResourceWarning from unclosed SQLite connection on Python 3.13+. 2023-08-23 09:09:23 +02:00
sessions_tests Improved test coverage for django.contrib.sessions.backends.base.SessionBase. 2023-12-13 12:51:58 +01:00
settings_tests Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
shell Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
shortcuts Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
signals Refs #32172 -- Used asgiref coroutine shim in async signals tests. 2023-03-08 09:53:25 +01:00
signed_cookies_tests Fixed #33562 -- Made HttpResponse.set_cookie() support timedelta for the max_age argument. 2022-03-07 07:57:14 +01:00
signing Refs #33199 -- Removed support for passing positional arguments to Signer/TimestampSigner. 2023-09-18 22:12:40 +02:00
sitemaps_tests Fixed #34688 -- Removed contrib.sitemaps.ping_google() and ping_google management command. 2023-07-10 05:59:35 +02:00
sites_framework Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
sites_tests Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
staticfiles_tests Refs #26029 -- Removed DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. 2023-09-18 22:12:40 +02:00
str Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
string_lookup Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
swappable_models Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
syndication_tests Fixed #22078 -- Fixed crash of Feed with decorated methods. 2022-05-26 10:39:51 +02:00
template_backends Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
template_loader Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
template_tests Fixed #10941 -- Added {% query_string %} template tag. 2023-10-26 09:57:21 +02:00
templates Fixed #31080 -- Removed redundant type="text/javascript" attribute from <script> tags. 2019-12-11 09:49:54 +01:00
test_client Fixed #14611 -- Added query_params argument to RequestFactory and Client classes. 2023-11-23 10:39:29 +01:00
test_client_regress Fixed #14611 -- Added query_params argument to RequestFactory and Client classes. 2023-11-23 10:39:29 +01:00
test_exceptions
test_runner Fixed #34825 -- Avoided setting unused connections when initializing parallel workers. 2023-09-25 10:14:55 +02:00
test_runner_apps Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_utils Refs #34900, Refs #34118 -- Updated assertion in test_skip_class_unless_db_feature() test on Python 3.12.1+. 2023-10-16 06:27:27 +02:00
timezones Fixed #34921 -- Fixed crash of warning for unbound naive datetimes. 2023-10-22 14:26:38 +02:00
transaction_hooks Fixed #33616 -- Allowed registering callbacks that can fail in transaction.on_commit(). 2022-09-06 12:21:36 +02:00
transactions Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
unmanaged_models Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
update Fixed #34421 -- Fixed QuerySet.update() on querysets in descending order by annotations. 2023-03-18 13:19:40 +01:00
update_only_fields Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
urlpatterns Fixed #16406 -- Added ResolveMatch.captured_kwargs and extra_kwargs. 2022-03-29 10:27:40 +02:00
urlpatterns_reverse Fixed #33955, Fixed #33971 -- Reverted "Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs." 2022-09-01 21:09:16 +02:00
user_commands Simplified call_command() calls. 2023-07-27 15:48:47 +02:00
utils_tests Refs #34986 -- Fixed some test assertions for PyPy. 2023-11-28 06:19:38 +01:00
validation Fixed #34818 -- Prevented GenericIPAddressField from mutating error messages. 2023-11-24 05:46:17 +01:00
validators Fixed #34943 -- Made EmailValidator.__eq__() ignore domain_allowlist ordering. 2023-10-28 14:35:25 +02:00
version Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
view_tests Fixed #34830 -- Added request to bad_request/csrf_failure view template contexts. 2023-12-04 10:52:06 +01:00
wsgi Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
xor_lookups
.coveragerc Fixed #34810 -- Measured test coverage on django-admin commands. 2023-09-07 15:47:26 -03:00
README.rst Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, comments and hints. 2019-04-18 14:41:15 +02:00
runtests.py
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/.