django/tests
Juan Pablo Mallarino 08feaae588 Fixed -- Improved makemessages locale validation to handle numeric region codes. 2024-12-09 08:32:11 +01:00
..
absolute_url_overrides Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
admin_autodiscover Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
admin_changelist Refs -- Handled relationship exact lookups in ModelAdmin.search_fields. 2024-11-05 09:06:14 +01:00
admin_checks Fixed -- Allowed lookups for related fields in ModelAdmin.list_display. 2024-02-05 21:42:04 -03:00
admin_custom_urls Fixed -- Used ModelAdmin's opts attribute instead of model._meta. 2022-06-22 07:50:24 +02:00
admin_default_site Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
admin_docs Fixed -- Restricted access to model pages in admindocs. 2024-11-11 16:56:03 +01:00
admin_filters Fixed -- Fixed facet filters crash on querysets with no primary key. 2024-02-29 10:01:18 +01:00
admin_inlines Fixed -- Associated FilteredSelectMultiple elements to their label and help text. 2024-11-20 13:23:18 +01:00
admin_ordering Fixed -- Added AdminSite.get_model_admin(). 2023-07-07 08:06:01 +02:00
admin_registration Fixed -- Added CompositePrimaryKey. 2024-11-29 11:23:04 +01:00
admin_scripts Fixed -- Handled OSError when launching code formatters. 2024-11-29 09:04:48 -03:00
admin_utils Fixed -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:44:05 -03:00
admin_views Fixed -- Updated icon button dimensions to 24x24 pixels. 2024-11-29 08:31:06 +01:00
admin_widgets Fixed -- Updated icon button dimensions to 24x24 pixels. 2024-11-29 08:31:06 +01:00
aggregation Added supports_select_union skips in queries and aggregation tests. 2024-08-26 12:53:08 -03:00
aggregation_regress Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
annotations Fixed -- Added support for set-returning database functions. 2024-08-12 15:35:19 +02:00
app_loading Used addCleanup() in tests where appropriate. 2023-12-31 10:01:31 +01:00
apps Fixed -- Avoided raising RuntimeWarning about import-time queries when apps are reinitialized with test tools. 2023-09-25 08:17:03 +02:00
asgi Refs -- Captured stderr during ASGITest.test_file_response. 2024-11-27 11:00:05 +01:00
async Fixed -- Deprecated request.user fallback in auth.login and auth.alogin. 2024-11-28 17:43:46 +01:00
auth_tests Fixed -- Deprecated request.user fallback in auth.login and auth.alogin. 2024-11-28 17:43:46 +01:00
backends Fixed -- Restored timezone and role setters to be PostgreSQL DatabaseWrapper methods. 2024-08-28 19:25:07 -03:00
base
bash_completion Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
basic Refs -- Added Model._is_pk_set() abstraction to check if a Model's PK is set. 2024-09-09 17:46:50 -03:00
builtin_server Fixed -- Optimized LimitedStream wrapper. 2023-01-05 19:26:56 +01:00
bulk_create Fixed -- Made QuerySet.bulk_create() retrieve primary keys when updating conflicts. 2023-07-10 13:17:28 +02:00
cache Fixed -– Allowed cache tests to be retried via a new "retry" decorator. 2024-09-05 18:25:05 -03:00
check_framework Fixed -- Added an autodetector attribute to the makemigrations and migrate commands. 2024-10-15 16:39:12 +02:00
composite_pk Refs -- Fixed CompositePrimaryKey tests if yaml isn't installed. 2024-12-05 10:23:34 +01:00
conditional_processing Updated documentation and comments for RFC updates. 2022-11-10 13:52:17 +01:00
constraints Fixed -- Used provided error code and message when fields is set without a condition on UniqueConstraint. 2024-10-10 09:20:37 +02:00
contenttypes_tests Fixed -- Restored refreshing of relations when fields deferred. 2024-12-02 16:01:37 +01:00
context_processors Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
csrf_tests Refs -- Updated response.content.decode calls to use the HttpResponse.text property. 2024-10-16 11:52:22 +02:00
custom_columns Refs -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
custom_lookups Fixed -- Made unsupported lookup error message more specific. 2024-07-09 09:15:38 +02:00
custom_managers Refs -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
custom_methods Refs -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
custom_migration_operations Fixed -- Made migraton writer preserve keyword-only arguments. 2024-02-09 09:37:13 +01:00
custom_pk Removed unnecessary trailing commas in tests. 2023-08-22 12:42:57 +02:00
datatypes Refs -- 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 -- Removed support for pytz timezones per deprecation timeline. 2023-01-17 11:49:15 +01:00
db_functions Fixed -- Fixed Trunc() with offset timezones on MySQL, SQLite, Oracle. 2024-02-15 10:02:57 +01:00
db_typecasts Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
db_utils Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
dbshell Fixed -- Changed default mysql encoding to "utf8mb4". 2024-11-18 15:00:33 +01:00
decorators Fixed -- Updated method_decorator to handle async methods. 2024-08-30 08:54:49 -03:00
defer Fixed -- Restored refreshing of relations when fields deferred. 2024-12-02 16:01:37 +01:00
defer_regress Fixed -- Deferred self-referential foreign key fields adequately. 2024-04-23 13:17:17 -03:00
delete Fixed random delete.tests.DeletionTests.test_deletion_order failures. 2022-12-30 12:22:30 +01:00
delete_regress Fixed -- Avoided unnecessary calling of callables used by SET/SET_DEFAULT in Collector.collect(). 2024-02-08 18:41:32 +01:00
deprecation Fixed -- Implemented async auth backends and utils. 2024-10-07 14:19:41 +02:00
dispatch Refs -- Moved garbage_collect() helper to django.test.utils. 2023-12-06 09:26:11 +01:00
distinct_on_fields Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
empty
empty_models Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
expressions Refs , Refs -- Added ColPairs.__repr__(). 2024-09-17 14:25:58 +02:00
expressions_case Refs -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
expressions_window Fixed -- Fixed a crash when passing an empty order_by to Window. 2024-08-13 11:26:17 +02:00
extra_regress Fixed -- Allowed specifying parent classes in force_insert of Model.save(). 2023-06-29 21:52:52 +02:00
field_deconstruction Fixed -- Added support for mappings on model fields and ChoiceField's choices. 2023-08-30 22:57:40 -03:00
field_defaults Fixed -- Made Model.full_clean() ignore fields with db_default when validating empty values. 2024-03-08 05:55:25 +01:00
field_subclassing Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
file_storage Refs -- Adjusted deprecation warning stacklevel in FileSystemStorage.OS_OPEN_FLAGS. 2024-08-28 11:44:05 -03: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 Fixed -- Prevented file_move_safe() from trying to overwrite existing file when allow_overwrite is False. 2024-03-24 16:05:36 +01:00
filtered_relation Fixed -- Made FilteredRelation raise ValueError on querysets as rhs. 2024-01-29 20:29:49 +01:00
fixtures Fixed -- Fixed dumpdata crash when base querysets use prefetch_related(). 2024-01-31 16:10:05 +01:00
fixtures_model_package Refs -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
fixtures_regress Refs -- Fixed serializers/fixtures test crash if PyYAML isn't installed. 2024-09-19 08:51:30 +02:00
flatpages_tests Refs -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
force_insert_update Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
foreign_object Refs -- Added TupleIn subqueries. 2024-11-04 09:20:54 +01:00
forms_tests Refs -- Added id to ErrorList class and template. 2024-12-05 10:24:39 +01:00
from_db_value Refs -- 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 -- Added support for prefetching GenericForeignKey. 2023-09-18 13:23:21 +02:00
generic_relations_regress Fixed -- Fixed GenericForeignKey crash when checking cache for primary keys with different types. 2023-09-08 08:47:11 +02:00
generic_views Corrected cache_page()'s timeout value in tests.generic_views.urls. 2024-02-05 13:27:51 +01:00
get_earliest_or_latest Fixed -- Added QuerySet.first()/last() error message on unordered queryset with aggregation. 2022-06-14 12:24:43 +02:00
get_object_or_404 Refs -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
get_or_create Removed obsolete test_get_or_create_raises_IntegrityError_plus_traceback() test. 2024-02-21 11:50:22 +01:00
gis_tests Fixed -- Confirmed support for GDAL 3.9. 2024-11-04 09:24:17 +01:00
handlers Refs -- Adjusted warning stacklevel in StreamingHttpResponse.__iter__()/__aiter__(). 2024-08-28 11:44:05 -03:00
httpwrappers Fixed -- Added support for preserving the HTTP request method in HttpResponseRedirectBase. 2024-11-14 15:53:49 -03:00
humanize_tests Fixed -- Changed ordinal to return negative numbers unchanged. 2024-05-27 10:54:25 +02:00
i18n Fixed -- Improved makemessages locale validation to handle numeric region codes. 2024-12-09 08:32:11 +01:00
import_error_package
indexes Fixed -- Removed deferred SQL to create index removed by AlterField operation. 2024-05-28 12:44:07 +02:00
inline_formsets Refs -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
inspectdb Fixed -- Raised RuntimeWarning when performing import-time queries. 2023-08-21 13:44:25 +02:00
introspection Refs -- Deprecated CheckConstraint.check in favor of .condition. 2024-03-01 07:15:32 +01:00
invalid_models_tests Fixed -- Made system check accept db_default literals when DatabaseFeatures.supports_expression_defaults = False. 2024-11-11 16:05:05 +01:00
known_related_objects Fixed -- Fixed QuerySet.select_related() with multi-level FilteredRelation. 2023-01-24 10:20:27 +01:00
logging_tests Fixed -- Changed EmailMessage.attachments and EmailMultiAlternatives.alternatives to use namedtuples. 2024-06-20 09:43:40 +02:00
lookup Fixed -- Fixed crash when using In() lookup in filters. 2024-09-11 12:42:17 +02:00
m2m_and_m2o Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
m2m_intermediary Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
m2m_multiple Refs -- 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 -- Reverted "Fixed -- Made models cache related managers." 2022-09-30 18:18:33 +02:00
m2m_signals Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
m2m_through Refs -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
m2m_through_regress Refs -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
m2o_recursive Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
mail Refs -- Added tests for email parameters, attachments, MIME structure, bcc header, encoding and sending. 2024-12-03 11:17:12 +01:00
managers_regress Refs -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
many_to_many Fixed -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:44:05 -03:00
many_to_one Fixed -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:44:05 -03:00
many_to_one_null Fixed -- 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 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
messages_tests Fixed -- Made unittest ignore Django assertions in traceback frames. 2024-08-08 21:34:01 -03:00
middleware Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
middleware_exceptions Refs -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
migrate_signals Refs -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
migration_test_data_persistence Fixed -- Fixed failure when running tests in parallel on postgres. 2024-11-27 12:51:41 +01:00
migrations Fixed -- Colorized system checks when running sqlmigrate. 2024-12-09 08:31:25 +01:00
migrations2 Fixed -- Made migrate --prune option respect --app_label. 2024-02-13 14:47:49 +01:00
model_enums Fixed -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:44:05 -03:00
model_fields Fixed CVE-2024-53908 -- Prevented SQL injections in direct HasKeyLookup usage on Oracle. 2024-12-04 13:43:13 +01:00
model_forms Refs -- Added id to ErrorList class and template. 2024-12-05 10:24:39 +01:00
model_formsets Fixed -- Fixed BaseModelFormSet.validate_unique() crash due to unhashable type. 2024-06-13 16:21:53 +02:00
model_formsets_regress Refs -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
model_indexes Fixed -- Made Index with multiple fields respect DEFAULT_INDEX_TABLESPACE. 2022-06-13 07:21:46 +02:00
model_inheritance Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
model_inheritance_regress Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
model_meta Fixed -- Cached model's Options.swapped. 2024-05-07 14:25:51 +02:00
model_options Refs -- Reverted AlterIndexTogether deprecation. 2022-07-26 11:41:19 +02:00
model_package Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
model_regress Refs -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
model_utils Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
modeladmin Fixed -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:44:05 -03:00
multiple_database Fixed -- Fixed ContentType.get_object_for_this_type() in a multiple database setup. 2024-02-05 08:25:23 +01:00
mutually_referential Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
nested_foreign_keys Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
no_models Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
null_fk Refs -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
null_fk_ordering Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
null_queries Fixed -- 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 -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:44:05 -03:00
or_lookups Refs -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual(). 2022-10-08 08:07:38 +02:00
order_with_respect_to Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
ordering Fixed -- 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 -- Handled serialization of Unicode values in ArrayField and HStoreField. 2024-12-05 15:31:50 +01:00
prefetch_related Fixed -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:44:05 -03:00
project_template Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
properties Refs -- 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 Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
queries Fixed , Refs -- Added tests for QuerySet.union() with multiple models and DateTimeField annotations. 2024-11-08 13:16:44 +01:00
queryset_pickle Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
raw_query Fixed typos in docstrings and docs. 2024-03-07 06:01:01 +01:00
redirects_tests Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
requests_tests Fixed -- Added HttpRequest.get_preferred_type(). 2024-09-09 12:02:18 +02:00
requirements Refs -- Added Python 3.14 to daily builds. 2024-10-16 22:19:17 -03:00
reserved_names Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
resolve_url Refs -- 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 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
save_delete_hooks Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
schema Fixed -- Recreated PostgreSQL _like indexes when changing between TextField and CharField field types. 2024-10-31 06:37:14 +01:00
select_for_update Refs -- 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 -- 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 Refs -- Fixed serializers tests if Pillow isn't installed. 2024-12-05 08:51:05 +01:00
servers Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
sessions_tests Fixed -- Added async-compatible interface to session engines. 2024-03-13 17:55:15 +01:00
settings_tests Used addCleanup() in tests where appropriate. 2023-12-31 10:01:31 +01:00
shell Fixed , Refs -- Improved test coverage of shell command. 2024-06-27 16:42:55 +02:00
shortcuts Fixed -- Added support for preserving the HTTP request method in HttpResponseRedirectBase. 2024-11-14 15:53:49 -03:00
signals Fixed -- Fixed Signal.asend()/asend_robust() crash when all receivers are asynchronous. 2024-02-08 11:36:28 +01:00
signed_cookies_tests Fixed -- Made HttpResponse.set_cookie() support timedelta for the max_age argument. 2022-03-07 07:57:14 +01:00
signing Refs -- Removed support for passing positional arguments to Signer/TimestampSigner. 2023-09-18 22:12:40 +02:00
sitemaps_tests Refs -- Updated response.content.decode calls to use the HttpResponse.text property. 2024-10-16 11:52:22 +02:00
sites_framework Refs -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
sites_tests Used addCleanup() in tests where appropriate. 2023-12-31 10:01:31 +01:00
sphinx Fixed -- Restored source file linking in docs by using the Sphinx linkcode ext. 2024-05-14 22:08:29 -03:00
staticfiles_tests Fixed -- Improved max post-process passes exceeded error message in HashedFilesMixin. 2024-08-30 10:00:51 +02:00
str Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
string_lookup Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
swappable_models Refs -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
syndication_tests Fixed -- Added support for RSS feed stylesheets. 2024-06-18 17:25:43 +02:00
template_backends Fixed -- Added missing alters_data=True to QuerySet and UserManager methods. 2024-11-01 11:43:49 +01:00
template_loader Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
template_tests Fixed -- Allowed template self-inclusion with relative paths. 2024-12-06 10:44:10 +01:00
templates
test_client Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
test_client_regress Fixed a typo in some tests. 2024-11-11 14:47:04 +01:00
test_exceptions Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_runner Removed redundant RemoteTestResultTest._test_error_exc_info() test hook. 2024-11-11 12:31:48 +01:00
test_runner_apps Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_utils Fixed a typo in some tests. 2024-11-11 14:47:04 +01:00
timezones Fixed -- Fixed crash of warning for unbound naive datetimes. 2023-10-22 14:26:38 +02:00
transaction_hooks Fixed -- Allowed registering callbacks that can fail in transaction.on_commit(). 2022-09-06 12:21:36 +02:00
transactions Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
unmanaged_models Refs -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
update Fixed -- Fixed QuerySet.update() on querysets in descending order by annotations. 2023-03-18 13:19:40 +01:00
update_only_fields Refs -- Adjusted deprecation warning stacklevel in Model.save()/asave(). 2024-08-28 11:44:05 -03:00
urlpatterns Fixed -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:44:05 -03:00
urlpatterns_reverse Fixed -- Documented how to reverse a class-based view by instance. 2024-10-23 15:37:54 +02:00
user_commands Fixed -- Handled OSError when launching code formatters. 2024-11-29 09:04:48 -03:00
utils_tests Fixed CVE-2024-53907 -- Mitigated potential DoS in strip_tags(). 2024-12-04 13:43:13 +01:00
validation Fixed -- Updated validate_constraints to consider db_default. 2024-08-05 17:33:12 +02:00
validators Fixed -- Updated DomainNameValidator to require entire string to be a valid domain name. 2024-10-17 16:45:44 +02:00
version Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
view_tests Refs -- Updated response.content.decode calls to use the HttpResponse.text property. 2024-10-16 11:52:22 +02:00
wsgi Used addCleanup() in tests where appropriate. 2023-12-31 10:01:31 +01:00
xor_lookups Fixed -- Corrected fallback SQL for n-ary logical XOR. 2023-06-08 20:41:18 +02:00
.coveragerc Fixed -- Measured test coverage on django-admin commands. 2023-09-07 15:47:26 -03:00
README.rst
runtests.py Fixed -- Used class property for available apps check on TransactionTestCase. 2024-12-04 09:36:40 +01:00
sitecustomize.py Fixed -- Measured test coverage on django-admin commands. 2023-09-07 15:47:26 -03:00
test_sqlite.py Refs -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
urls.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00

README.rst

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/.