django/tests
Mariusz Felisiak c669cf279a [1.11.x] Fixed GeoQuerySetTest.test_unionagg_tolerance() test on Oracle 18c.
Backport of 5ca76baa72 from master
2020-03-05 08:57:26 +01:00
..
absolute_url_overrides Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
admin_autodiscover
admin_changelist [1.11.x] Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable. 2018-06-07 10:15:56 -04:00
admin_checks Fixed #26961 -- Made admin checks run when DEBUG=False. 2017-01-10 07:02:13 -05:00
admin_custom_urls Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
admin_docs [1.11.x] Fixed #29296 -- Fixed crashes in admindocs when a view is a callable object. 2018-04-12 13:28:29 -04:00
admin_filters [1.11.x] Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input. 2017-06-06 08:18:08 -04:00
admin_inlines [1.11.x] Fixed #27967 -- Fixed KeyError in admin's inline form with inherited non-editable pk. 2017-06-12 21:22:53 -04:00
admin_ordering Fixed E305 flake8 warnings. 2016-11-14 12:30:46 -05:00
admin_registration Used assertIsInstance in admin_registration tests. 2016-03-24 19:20:31 -04:00
admin_scripts [1.11.x] Fixed db backend discovery in admin_scripts tests. 2017-05-10 09:52:26 -04:00
admin_utils [1.11.x] Updated tests after French translation update 2017-04-04 13:09:15 +02:00
admin_views [1.11.x] Removed blank lines per isort 4.3.0. 2018-02-20 08:58:29 -05:00
admin_widgets [1.11.x] Fixed CVE-2019-12308 -- Made AdminURLFieldWidget validate URL before rendering clickable link. 2019-06-03 11:38:19 +02:00
aggregation Fixed tests that rely on hardcoded id with keepdb 2017-01-14 15:41:49 +11:00
aggregation_regress Fixed #25307 -- Fixed QuerySet.annotate() crash with conditional expressions. 2017-01-16 10:03:15 -05:00
annotations [1.11.x] Fixed #27800 -- Fixed QuerySet.annotate(Length(...)).distinct() crash. 2017-01-31 18:46:07 -05:00
app_loading Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
apps Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
auth_tests [1.11.x] Fixed CVE-2019-19844 -- Used verified user email for password reset requests. 2019-12-18 09:17:28 +01:00
backends [1.11.x] Fixed #28702 -- Made query lookups for CIText fields use citext. 2017-11-29 11:12:07 -05:00
base [1.11.x] Sorted imports per isort 4.2.9. 2017-06-01 13:30:08 -04:00
bash_completion Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
basic Fixed #27718 -- Added QuerySet.union(), intersection(), difference(). 2017-01-14 08:32:07 -05:00
builtin_server Removed a bit of builtin_server tests for Python ≤ 2.7.3. 2016-11-10 22:20:09 -05:00
bulk_create [1.11.x] Removed unused variables that are overwritten. 2017-01-25 09:15:36 -05:00
cache [1.11.x] Fixed #28601 -- Prevented cache.get_or_set() from caching None if default is a callable that returns None. 2017-10-10 09:35:57 -04:00
check_framework [1.11.x] Sorted imports per isort 4.2.9. 2017-06-01 13:30:08 -04:00
choices
conditional_processing Refs #27083 -- Updated conditional header comparison to match RFC 7232. 2016-09-16 15:45:53 -04:00
contenttypes_tests Fixed #27709 -- Fixed get_for_models() for proxies with an empty cache. 2017-01-13 10:02:01 -05:00
context_processors Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
csrf_tests [1.11.x] Fixed #28488 -- Reallowed error handlers to access CSRF tokens. 2017-09-20 16:32:24 -04:00
custom_columns Refs #26022 -- Used context manager version of assertRaisesMessage in tests. 2016-01-29 13:03:39 -05:00
custom_lookups Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSequenceEqual(). 2016-09-13 10:07:37 -04:00
custom_managers Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
custom_methods Tweak some examples. 2015-08-22 20:25:42 +02:00
custom_migration_operations
custom_pk Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
datatypes Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
dates Made FieldError/FieldDoesNotExist messages uniform across Python versions. 2016-09-17 09:29:14 -04:00
datetimes Fixed #27327 -- Simplified time zone handling by requiring pytz. 2016-10-27 08:53:20 -04:00
db_functions [1.11.x] Removed blank lines per isort 4.3.0. 2018-02-20 08:58:29 -05:00
db_typecasts Fixed #26498 -- Fixed TimeField microseconds round-tripping on MySQL and SQLite. 2016-04-18 09:39:46 -04:00
dbshell Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name. 2016-06-03 12:30:21 -04:00
decorators Fixed E305 flake8 warnings. 2016-11-14 12:30:46 -05:00
defer Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
defer_regress Refs #18100 -- Added tests for deferred model deletion signals. 2016-05-10 13:21:52 -04:00
delete Fixed #27407 -- Made Model.delete(keep_parents=True) preserve parent reverse relationships. 2016-11-15 20:16:06 -05:00
delete_regress [1.11.x] Fixed #29016 -- Fixed incorrect foreign key nullification on related instance deletion. 2018-01-13 10:33:24 -05:00
deprecation Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
dispatch Completed django.dispatch test coverage. 2016-11-22 09:07:42 -05:00
distinct_on_fields Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSequenceEqual(). 2016-09-13 10:07:37 -04:00
empty
expressions [1.11.x] Fixed #28689 -- Fixed unquoted table names in Subquery SQL when using OuterRef. 2017-10-25 22:00:19 +02:00
expressions_case Fixed #27482 -- Doc'd an example of Case() in QuerySet.filter(). 2016-11-17 12:39:35 -05:00
extra_regress Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
field_deconstruction Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6. 2016-09-17 15:44:06 -04:00
field_defaults
field_subclassing Removed SubfieldBase per deprecation timeline. 2015-09-23 19:31:09 -04:00
file_storage Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
file_uploads Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
files [1.11.x] Fixed #28170 -- Fixed file_move_safe() crash when moving files to a CIFS mount. 2017-05-31 15:02:32 -04:00
fixtures Removed available_apps on TestCase subclasses. 2017-01-13 08:50:03 -05:00
fixtures_model_package Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception. 2016-01-04 19:39:35 -05:00
fixtures_regress Made contenttypes and auth apps unavailable when not necessary in tests. 2017-01-13 08:50:03 -05:00
flatpages_tests Refs #26601 -- Deprecated old-style middleware. 2016-05-17 07:22:26 -04:00
force_insert_update
foreign_object [1.11.x] Sorted imports per isort 4.2.9. 2017-06-01 13:30:08 -04:00
forms_tests [1.11.x] Fixed #31073 -- Prevented CheckboxInput.get_context() from mutating attrs. 2019-12-11 09:43:36 +01:00
from_db_value
generic_inline_admin Fixed E305 flake8 warnings. 2016-11-14 12:30:46 -05:00
generic_relations Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
generic_relations_regress [1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI. 2017-12-07 09:34:54 -05:00
generic_views [1.11.x] Fixed #28209 -- Made date-based generic views return a 404 rather than crash when given an out of range date. 2017-05-30 13:32:20 -04:00
get_earliest_or_latest Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
get_object_or_404 Fixed #10532 -- Relaxed hard-type checking in get_object/list_or_404 shortcuts 2016-03-29 21:34:20 +02:00
get_or_create [1.11.x] Refs #29499 -- Skipped QuerySet.update_or_create() test that fails on MySQL. 2018-08-03 12:13:06 -04:00
gis_tests [1.11.x] Fixed GeoQuerySetTest.test_unionagg_tolerance() test on Oracle 18c. 2020-03-05 08:57:26 +01:00
handlers [1.11.x] Fixed #30070, CVE-2019-3498 -- Fixed content spoofing possiblity in the default 404 page. 2019-01-03 22:09:25 -05:00
httpwrappers Fixed #27640 -- Fixed HttpResponse's __repr__() without a 'Content-Type' header. 2016-12-27 14:42:58 -05:00
humanize_tests Fixed #27327 -- Simplified time zone handling by requiring pytz. 2016-10-27 08:53:20 -04:00
i18n [1.11.x] Refs #28710 -- Simplified l10n format test 2017-10-14 21:11:28 +02:00
import_error_package
indexes Refs #27558 -- Isolated indexes test on MySQL. 2016-12-15 13:31:08 -05:00
inline_formsets Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
inspectdb [1.11.x] Fixed spelling mistakes in code and comments. 2017-01-19 08:20:15 -05:00
introspection [1.11.x] Fixed #28197 -- Fixed introspection of index field ordering on PostgreSQL. 2017-05-15 08:59:02 -04:00
invalid_models_tests Refs #25415 -- Made MySQL backend skip field validation of unsupported models. 2016-12-29 12:01:48 -05:00
known_related_objects Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
logging_tests Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
lookup Fixed #27498 -- Fixed filtering on annotated DecimalField on SQLite. 2016-12-24 10:38:48 -05:00
m2m_and_m2o Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
m2m_intermediary Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
m2m_multiple Tweak some examples. 2015-08-22 20:25:42 +02:00
m2m_recursive Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
m2m_regress Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
m2m_signals Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
m2m_through Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
m2m_through_regress Fixed typo in m2m_through_regress test methods. 2016-12-23 15:32:30 -05:00
m2o_recursive Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
mail [1.11.x] Fixed #28042 -- Fixed crash when using a two-tuple in EmailMessage's attachments arg. 2017-04-07 18:24:09 -04:00
managers_regress [1.11.x] Fixed E117 flake8 warnings. 2019-02-14 09:35:54 -05:00
many_to_many Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
many_to_one Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
many_to_one_null Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
max_lengths Refs #27358 -- Removed invalid/unneeded FileField.upload_to in tests/docs. 2016-11-30 17:05:31 -05:00
messages_tests [1.11.x] Removed blank lines per isort 4.3.0. 2018-02-20 08:58:29 -05:00
middleware [1.11.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware. 2018-07-25 12:13:03 -04:00
middleware_exceptions Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
migrate_signals Fixed #27100 -- Included already applied migration changes in the pre-migrate state. 2016-08-24 01:17:48 -04:00
migration_test_data_persistence Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
migrations [1.11.x] Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key constraint" crash on MySQL with a sequence of AlterField or RenameField operations. 2017-12-01 19:09:36 -05:00
migrations2 Fixed #24743, #24745 -- Optimized migration plan handling 2015-09-19 14:54:53 +10:00
model_fields [1.11.x] Fixed #28242 -- Moved ImageField file extension validation to the form field. 2017-06-01 10:44:47 -04:00
model_forms [1.11.x] Fixed #27998, #28543 -- Restored logging of ManyToManyField changes in admin's object history. 2017-08-31 09:41:04 -04:00
model_formsets [1.11.x] Fixed #28159 -- Fixed BaseInlineFormSet._construct_form() crash when using save_as_new. 2017-05-03 08:59:41 -04:00
model_formsets_regress Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
model_indexes [1.11.x] Refs #28876 -- Fixed incorrect class-based model index name generation for models with quoted db_table. 2017-12-05 22:42:58 +01:00
model_inheritance [1.11.x] Sorted imports per isort 4.2.9. 2017-06-01 13:30:08 -04:00
model_inheritance_regress [1.11.x] Fixed #28210 -- Fixed Model._state.adding on MTI parent model after saving child model. 2017-05-19 21:09:42 -04:00
model_meta [1.11.x] Fixed #28269 -- Fixed Model.__init__() crash on models with a field that has an instance only descriptor. 2017-06-05 09:15:55 -04:00
model_options [1.11.x] Sorted imports per isort 4.2.9. 2017-06-01 13:30:08 -04:00
model_package
model_permalink Refs #18974 -- Deprecated @models.permalink() decorator. 2016-10-04 14:39:49 -04:00
model_regress Fixed #27514 -- Tested Model.__init__ excessive number of fields. 2016-11-20 13:21:59 -05:00
modeladmin [1.11.x] Fixed typo in ModelAdmin action logging test. 2017-09-02 09:36:51 -04:00
multiple_database [1.11.x] Refs #27790 -- Reverted "Removed available_apps on TestCase subclasses." 2017-01-28 10:14:11 -05:00
mutually_referential Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
nested_foreign_keys Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
no_models Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
null_fk Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
null_fk_ordering Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
null_queries Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
one_to_one [1.11.x] Fixed #28047 -- Fixed QuerySet.filter() crash when it uses the name of a OneToOneField pk. 2017-04-10 11:52:10 -04:00
or_lookups Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSequenceEqual(). 2016-09-13 10:07:37 -04:00
order_with_respect_to Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
ordering [1.11.x] Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a filtered subquery that uses nulls_first/nulls_last. 2017-11-27 11:40:09 -05:00
pagination [1.11.x] Fixed #28284 -- Prevented Paginator's unordered object list warning from evaluating a QuerySet. 2017-06-13 08:34:49 -04:00
postgres_tests [1.11.x] Fixed CVE-2020-7471 -- Properly escaped StringAgg(delimiter) parameter. 2020-01-26 19:02:04 +01:00
prefetch_related [1.11.x] Sorted imports per isort 4.2.9. 2017-06-01 13:30:08 -04:00
project_template [1.11.x] Fixed #26755 -- Fixed test_middleware_classes_headers if Django source isn't writable. 2017-06-02 10:29:39 -04:00
properties Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
proxy_model_inheritance Fixed #23076, #25505 -- Fixed deletion of intermediate proxy models. 2015-10-12 12:14:26 -04:00
proxy_models [1.11.x] Sorted imports per isort 4.2.9. 2017-06-01 13:30:08 -04:00
queries [1.11.x] Fixed #29286 -- Fixed column mismatch crash with QuerySet.values() or values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection(). 2018-04-13 12:54:32 +02:00
queryset_pickle Fixed #27499 -- Made Prefetches pickle without evaluating their QuerySet. 2016-11-23 11:23:14 -05:00
raw_query Refs #27546 -- Tested some __repr__() methods. 2016-12-01 08:09:38 -05:00
redirects_tests Refs #26601 -- Deprecated old-style middleware. 2016-05-17 07:22:26 -04:00
requests Refs #17235 -- Made MultiPartParser leave request.POST immutable. 2016-12-07 08:28:46 -05:00
requirements [1.11.x] Pinned PyYAML < 5.3 in test requirements. 2020-02-04 10:06:07 +01:00
reserved_names Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
resolve_url Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
responses Fixed #27640 -- Fixed HttpResponse's __repr__() without a 'Content-Type' header. 2016-12-27 14:42:58 -05:00
reverse_lookup Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
save_delete_hooks
schema [1.11.x] Added isolated_local_models support to schema tests. 2018-04-14 07:18:33 -04:00
select_for_update [1.11.x] Fixed #28498 -- Fixed test database creation with cx_Oracle 6. 2017-08-16 18:42:41 +02:00
select_related [1.11.x] Sorted imports per isort 4.2.9. 2017-06-01 13:30:08 -04:00
select_related_onetoone Fixed #27594 -- Fixed select_related() with reverse self-referential OneToOneField. 2016-12-14 07:46:27 -05:00
select_related_regress Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSequenceEqual(). 2016-09-13 10:07:37 -04:00
serializers [1.11.x] Fixed serializers test crash if PyYAML isn't installed. 2019-03-20 16:11:02 +01:00
servers [1.11.x] Fixed #28212 -- Allowed customizing the port that LiveServerTestCase uses. 2017-05-30 18:06:58 -04:00
sessions_tests [1.11.x] Sorted imports per isort 4.2.9. 2017-06-01 13:30:08 -04:00
settings_tests [1.11.x] Fixed CVE-2019-12781 -- Made HttpRequest always trust SECURE_PROXY_SSL_HEADER if set. 2019-07-01 08:40:19 +02:00
shell Fixed #27721 -- Added interface name to shell's IPython/bython import error. 2017-01-12 13:12:21 -05:00
shortcuts Removed unused view and url from shortcuts tests. 2016-04-12 07:54:34 -04:00
signals Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
signed_cookies_tests Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
signing Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
sitemaps_tests Added tests for contrib.sitemaps.ping_google(). 2016-11-22 18:27:19 -05:00
sites_framework Refs #24227 -- Replaced M2M isinstance checks by field.many_to_many 2016-03-19 09:24:27 +01:00
sites_tests Fixed #27181 -- Allowed contrib.sites to match domains with trailing ".". 2016-11-29 18:17:10 -05:00
staticfiles_tests [1.11.x] Sorted imports per isort 4.2.9. 2017-06-01 13:30:08 -04:00
str Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
string_lookup Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
swappable_models [1.11.x] Refs #27790 -- Reverted "Removed available_apps on TestCase subclasses." 2017-01-28 10:14:11 -05:00
syndication_tests Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
template_backends Fixed #27258 -- Prohibited django.Template.render() with non-dict context. 2016-12-28 16:03:20 -05:00
template_loader Fixed #25788 -- Enabled the cached template loader if debug is False. 2016-09-03 09:06:33 -04:00
template_tests [1.11.X] Fixed CVE-2019-14232 -- Adjusted regex to avoid backtracking issues when truncating HTML. 2019-07-29 11:18:34 +02:00
templates Fixed #27313 -- Allowed overriding admin popup response template. 2016-12-14 18:10:56 -05:00
test_client Refs #27184 -- Fixed unclosed file ResourceWarning in test_client test. 2016-12-12 12:41:38 -05:00
test_client_regress [1.11.x] Refs #27622 -- Fixed a regression in JSON content-type detection 2017-03-07 17:00:20 +01:00
test_discovery_sample Refs #25735 -- Made @tag decorator importable from django.test. 2016-02-19 14:21:00 -05:00
test_discovery_sample2
test_exceptions
test_runner [1.11.x] Refs #28814 -- Fixed test_runner failure on Python 3.7. 2018-11-17 14:46:04 -05:00
test_utils [1.11.x] Fixed #27873 -- Fixed crash in setup_test_environment() if ALLOWED_HOSTS is a tuple. 2017-02-24 14:06:42 -05:00
timezones [1.11.x] Fixed timezones tests for PyYAML 5.3+. 2020-01-07 09:56:12 +01:00
transaction_hooks Fixed #26627 -- Fixed on_commit callbacks execution order when callbacks make transactions. 2016-05-18 09:09:48 -04:00
transactions [1.11.x] Reverted "Refs #16682 -- Tested transaction.atomic() with KeyboardInterrupt." 2017-03-09 10:09:00 -05:00
unmanaged_models [1.11.x] Sorted imports per isort 4.2.9. 2017-06-01 13:30:08 -04:00
update Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
update_only_fields Refs #26207 -- Removed obsolete comments about deferred model classes. 2016-11-20 18:22:13 -05:00
urlpatterns_reverse [1.11.x] Fixed #27367 -- Doc'd and tested reversing of URLs with the same name. 2017-02-11 09:02:30 -05:00
user_commands Skipped unnecessary system checks in user_commands test. 2017-01-09 17:23:24 -05:00
utils_tests [1.11.x] Fixed CVE-2019-14235 -- Fixed potential memory exhaustion in django.utils.encoding.uri_to_iri(). 2019-07-31 21:29:17 +02:00
validation Replaced use of TestCase.fail() with assertRaises(). 2016-06-28 11:21:26 -04:00
validators Fixed E305 flake8 warnings. 2016-11-14 12:30:46 -05:00
version Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
view_tests [1.11.x] Fixed CVE-2017-12794 -- Fixed XSS possibility in traceback section of technical 500 debug page. 2017-09-05 11:05:43 -04:00
wsgi Fixed E305 flake8 warnings. 2016-11-14 12:30:46 -05:00
.coveragerc Fixed #25209 -- Removed parallel=True coverage option 2015-08-04 09:32:12 -04:00
README.rst Updated "running the tests" to use 'pip install -e'. 2016-10-27 08:18:56 -04:00
runtests.py [1.11.x] Fixed AppRegistryNotReady error when running gis_tests in isolation on PostGIS. 2017-05-30 15:14:55 -04:00
test_sqlite.py
urls.py Fixed "URLconf" spelling in code comments. 2015-10-22 14:46:42 -04: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
    $ pip install -e ..
    $ pip install -r requirements/py3.txt  # or py2.txt
    $ ./runtests.py

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