django/tests
Tim Graham 58e08e80e3 [1.10.x] Fixed CVE-2017-12794 -- Fixed XSS possibility in traceback section of technical 500 debug page.
This is a security fix.
2017-09-05 11:19:56 -04:00
..
absolute_url_overrides Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
admin_autodiscover
admin_changelist [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
admin_checks [1.10.x] Fixed #26998 -- Reverted some admin checks from checking field.many_to_many back to isinstance(field, models.ManyToManyField). 2016-08-23 16:06:41 -04:00
admin_custom_urls Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
admin_docs [1.10.x] Fixed #27018 -- Fixed admindocs crash with a view in a class. 2016-08-20 10:02:22 -04:00
admin_filters [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
admin_inlines [1.10.x] Fixed #26729 -- Allowed overriding a form field's label/help_text in Form.__init__() for TabularInline. 2016-06-21 14:32:19 -04:00
admin_ordering Fixed #25985 -- Updated signature of ModelAdmin.formfield_for_* to make request a positional argument. 2015-12-29 12:49:14 -05:00
admin_registration Used assertIsInstance in admin_registration tests. 2016-03-24 19:20:31 -04:00
admin_scripts Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
admin_utils [1.10.x] Fixed #27302 -- Fixed ModelAdmin.construct_change_message() changed field detection 2016-10-01 20:16:41 +02:00
admin_views [1.10.x] Normalized spelling of ETag. 2016-09-09 11:00:58 -04:00
admin_widgets [1.10.x] Fixed #27905 -- Added RelatedFieldWidgetWrapper.value_omitted_from_data(). 2017-03-07 14:00:09 -05:00
aggregation Fixed #26458 -- Based Avg's default output_field resolution on its source field type. 2016-04-05 23:48:08 -04:00
aggregation_regress Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
annotations Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
app_loading Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
apps Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
auth_tests [1.10.x] Normalized casing of "custom user model". 2016-11-23 15:17:00 -05:00
backends [1.10.x] Fixed a backends test with psycopg2 2.7. 2017-03-01 13:19:11 -05:00
base
bash_completion Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
basic [1.10.x] Fixed #26787 -- Documented deleting and reloading of model instance fields. 2016-06-21 15:25:16 -04:00
builtin_server
bulk_create [1.10.x] Fixed #27385 -- Fixed QuerySet.bulk_create() on PostgreSQL when the number of objects is a multiple plus one of batch_size. 2016-10-25 19:22:33 -04:00
cache [1.10.x] Normalized spelling of ETag. 2016-09-09 11:00:58 -04:00
check_framework [1.10.x] Fixed #27238 -- Disabled check_pattern_startswith_slash if settings.APPEND_SLASH=False. 2016-09-19 21:01:09 -04:00
choices
conditional_processing Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
contenttypes_tests [1.10.x] Refs #24067 -- Fixed contenttypes rename tests failures on Oracle. 2016-05-22 21:29:59 -04:00
context_processors Fixed #26145 -- Made debug context processor return queries for all databases. 2016-04-09 11:47:15 -04:00
csrf_tests [1.10.x] Fixed CVE-2016-9014 -- Validated Host header when DEBUG=True. 2016-11-01 09:36:44 -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 #24629 -- Unified Transform and Expression APIs 2015-09-21 19:56:24 +10:00
custom_managers [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04: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 Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 2016-01-29 13:37:33 -05:00
datetimes Fixed #25774 -- Refactor datetime expressions into public API 2016-05-18 20:14:58 +10:00
db_functions Fixed #25774 -- Refactor datetime expressions into public API 2016-05-18 20:14:58 +10:00
db_typecasts Fixed #26498 -- Fixed TimeField microseconds round-tripping on MySQL and SQLite. 2016-04-18 09:39:46 -04:00
dbshell [1.10.x] Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name. 2016-06-03 12:42:41 -04:00
decorators [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
defer Fixed #26207 -- Replaced dynamic classes with non-data descriptors for deferred instance loading. 2016-04-29 13:06:32 -04:00
defer_regress Refs #18100 -- Added tests for deferred model deletion signals. 2016-05-10 13:21:52 -04:00
delete [1.10.x] Fixed #27407 -- Made Model.delete(keep_parents=True) preserve parent reverse relationships. 2016-11-15 20:50:41 -05:00
delete_regress Changed database connection duplication technique. 2015-09-09 23:03:51 +02:00
deprecation Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
dispatch Used assertIsInstance in tests. 2015-04-27 08:40:36 -04:00
distinct_on_fields Refs #26022 -- Used context manager version of assertRaisesMessage in tests. 2016-01-29 13:03:39 -05:00
empty
expressions [1.10.x] Fixed #27856 -- Improved accuracy of date subtraction on PostgreSQL. 2017-02-21 12:59:46 -05:00
expressions_case [1.10.x] Fixed #27482 -- Doc'd an example of Case() in QuerySet.filter(). 2016-11-17 12:39:56 -05:00
extra_regress Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
field_deconstruction Refs #24590 -- Ensured isolation between autodetector tests 2015-08-28 10:17:34 +10:00
field_defaults
field_subclassing Removed SubfieldBase per deprecation timeline. 2015-09-23 19:31:09 -04:00
file_storage [1.10.x] Fixed #26896 -- Allowed a lazy base_url for FileSystemStorage. 2016-07-29 14:16:03 -04:00
file_uploads [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
files [1.10.x] Reverted "Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File." 2016-06-18 12:46:34 -04:00
fixtures Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04: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 [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
flatpages_tests Refs #26601 -- Deprecated old-style middleware. 2016-05-17 07:22:26 -04:00
force_insert_update
foreign_object Fixed #26515 -- Fixed Query.trim_joins() for nested ForeignObjects. 2016-05-19 09:56:24 -04:00
forms_tests [1.10.x] Fixed #27993 -- Fixed model form default fallback for SelectMultiple. 2017-03-31 10:17:17 -04:00
from_db_value Refs #9619 -- Fixed failing test case 2015-06-17 20:07:00 +02:00
generic_inline_admin [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
generic_relations Refs #18599 -- Added a test for assigning a GenericForeignKey in Model.__init__(). 2016-05-13 21:26:48 -04:00
generic_relations_regress [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
generic_views [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
get_earliest_or_latest Made multiline assertRaises* conform to flake8's E128 rule. 2016-02-04 19:14:10 -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.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
gis_tests [1.10.x] Fixed gis_tests.geoapp test with incorrect geodetic coordinates. 2017-05-30 08:42:09 -04:00
handlers [1.10.x] Fixed #27820 -- Fixed RequestDataTooBig/TooManyFieldsSent crash. 2017-02-13 17:16:29 -05:00
httpwrappers [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
humanize_tests Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
i18n [1.10.x] Removed some blank lines per isort. 2016-12-06 12:59:16 -05:00
import_error_package
indexes [1.10.x] Refs #27558 -- Isolated indexes test on MySQL. 2016-12-15 13:53:54 -05:00
inline_formsets [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
inspectdb Fixed #25658 -- Allowed inspectdb to inspect a specific set of tables. 2016-03-18 08:41:15 -04:00
introspection Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
invalid_models_tests [1.10.x] Fixed #25292 -- Fixed crash in ManyToManyField.through_fields check. 2016-06-30 08:55:21 -04:00
known_related_objects Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
logging_tests [1.10.x] Fixed #27271 -- Fixed a crash in runserver logging. 2016-09-27 09:48:08 -04:00
lookup Fixed #26285 -- Deprecated the MySQL-specific __search lookup. 2016-03-02 14:41:56 -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
m2m_regress Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
m2m_signals Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 2015-10-27 07:57:15 -04:00
m2m_through Refs #26092 -- Added @skipUnlessDBFeature to a test. 2016-01-21 08:05:55 -05:00
m2m_through_regress Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
m2o_recursive [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
mail [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
managers_regress [1.10.x] Fixed #27073 -- Removed duplicated managers in `Model._meta.managers`. 2016-08-19 01:27:43 +07:00
many_to_many [1.10.x] Refs #25550 -- Corrected deprecation message for assigning M2M relations. 2016-07-30 20:50:54 -04:00
many_to_one Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify models' default and base managers. 2016-05-17 12:07:22 +07:00
many_to_one_null [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
max_lengths
messages_tests [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
middleware [1.10.x] Fixed docs to refer to HSTS includeSubdomains as a directive. 2016-08-08 20:22:09 -04:00
middleware_exceptions [1.10.x] Fixed #26915 -- Fixed regression handling responses returned from view middleware. 2016-07-25 13:46:44 -04:00
migrate_signals [1.10.x] Fixed #27100 -- Included already applied migration changes in the pre-migrate state. 2016-08-24 01:38:30 -04:00
migration_test_data_persistence
migrations [1.10.x] Fixed #27461 -- Fixed incorrect allow_migrate() arguments in makemigrations. 2016-11-09 10:27:33 -05:00
migrations2 Fixed #24743, #24745 -- Optimized migration plan handling 2015-09-19 14:54:53 +10:00
model_fields [1.10.x] Fixed #26900 -- Fixed crash accessing deferred FileFields. 2016-07-16 08:47:29 -04:00
model_forms [1.10.x] Fixed #27993 -- Fixed model form default fallback for SelectMultiple. 2017-03-31 10:17:17 -04:00
model_formsets [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
model_formsets_regress Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
model_inheritance Fixed #24305 -- Allowed overriding fields on abstract models. 2016-05-16 07:32:21 -04:00
model_inheritance_regress Fixed #26320 -- Deprecated implicit OneToOnField parent_link. 2016-04-22 12:59:41 -04:00
model_meta Refs #16508 -- Renamed the current "virtual" fields to "private". 2016-04-13 10:10:53 -04:00
model_options Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
model_package
model_permalink Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
model_regress Refs #24007 -- Removed an apps.populate() call in model unpickling that can cause deadlocks. 2016-02-08 08:28:48 -05:00
model_validation Fixed #26421 -- Refactored ModelSignal to use Apps.lazy_model_operation() 2016-05-19 21:33:36 -04:00
modeladmin [1.10.x] Fixed #26998 -- Reverted some admin checks from checking field.many_to_many back to isinstance(field, models.ManyToManyField). 2016-08-23 16:06:41 -04:00
multiple_database [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04: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 #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
null_fk [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -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.10.x] Fixed #26667 -- Fixed a regression in queries on a OneToOneField that has to_field and primary_key=True. 2016-06-04 09:15:10 -04:00
or_lookups Fixed W503 flake8 warnings. 2016-04-04 17:14:26 -04:00
order_with_respect_to Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
ordering Correct a grammatical error: "it's related model" 2016-03-09 20:40:17 -08:00
pagination Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
postgres_tests [1.10.x] Fixed #27186 -- Fixed model form default fallback for MultiWidget, FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget. 2016-09-22 13:07:23 -04:00
prefetch_related [1.10.x] Fixed #26916 -- Fixed prefetch_related when using a cached_property as to_attr. 2016-07-19 16:09:23 -04:00
project_template Fixed #26601 -- Improved middleware per DEP 0005. 2016-05-17 07:22:22 -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.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
queries [1.10.x] Refs #26983 -- Added test for isnull lookup to CharField with primary_key=True. 2016-08-17 21:19:22 -04:00
queryset_pickle Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
raw_query [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
redirects_tests Refs #26601 -- Deprecated old-style middleware. 2016-05-17 07:22:26 -04:00
requests [1.10.x] Fixed CVE-2016-9014 -- Validated Host header when DEBUG=True. 2016-11-01 09:36:44 -04:00
requirements [1.10.x] Refs #27924 -- Doc'd that cx_Oracle < 5.3 is required. 2017-03-11 21:46:50 +01:00
reserved_names Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
resolve_url Fixed #26013 -- Moved django.core.urlresolvers to django.urls. 2015-12-31 14:21:29 -05:00
responses Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -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.10.x] Fixed #26889 -- Fixed missing PostgreSQL index in SchemaEditor.add_field(). 2016-07-13 21:55:25 -04:00
select_for_update Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
select_related [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
select_related_onetoone Fixed #26486 -- Fixed a select_related() + defer() MTI edge case. 2016-04-13 10:32:17 -04:00
select_related_regress Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
serializers [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
servers [1.10.x] Fixed flake8 2.6 warnings. 2016-06-16 09:33:02 -04:00
sessions_tests [1.10.x] Fixed #27363 -- Replaced unsafe redirect in SessionMiddleware with SuspiciousOperation. 2016-11-01 07:18:06 -04:00
settings_tests [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
shell Fixed #25680 -- Added django-admin shell --command option. 2016-01-06 18:43:41 -05:00
shortcuts Removed unused view and url from shortcuts tests. 2016-04-12 07:54:34 -04:00
signals [1.10.x] Fixed #26778 -- Fixed ModelSignal.connect() weak argument. 2016-06-18 20:45:58 -04:00
signed_cookies_tests [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
signing Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
sitemaps_tests Added missing backslash in sitemaps_tests urls. 2016-03-09 10:07:01 -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 [1.10.x] Fixed #26716 -- Made CurrentSiteMiddleware compatible with new-style middleware. 2016-06-07 09:46:58 -04:00
staticfiles_tests [1.10.x] Fixed #27658 -- Prevented collectstatic from overwriting newer files in remote storages. 2017-01-04 13:10:03 -05:00
str Fixed #25746 -- Isolated inlined test models registration. 2016-01-06 20:00:07 -05:00
string_lookup Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list. 2015-10-06 12:38:34 -04:00
swappable_models [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
syndication_tests Made multiline assertRaises* conform to flake8's E128 rule. 2016-02-04 19:14:10 -05:00
template_backends [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
template_loader Fixed #26109 -- Raised a helpful error if loader.select_tamplate() is passed a string. 2016-01-25 18:37:02 -05:00
template_tests [1.10.x] Fixed #27058 -- Reallowed the {% for %} tag to unpack any iterable. 2016-08-15 15:40:34 -04:00
templates Changed `action="."` to `action=""` in tests and docs. 2016-01-21 13:59:15 -05:00
test_client [1.10.x] Fixed #27027 -- Restored Client.force_login() defaulting to the first auth backend. 2016-08-06 08:42:17 -04:00
test_client_regress [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04: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.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
test_utils [1.10.x] Fixed #26922 -- Fixed SimpleTestCase.assertHTMLEqual() crash on Python 3.5+. 2016-07-21 17:06:48 -04:00
timezones [1.10.x] Fixed #27544 -- Fixed QuerySet.update(dt=F('dt') + timedelta) crash on SQLite. 2016-11-29 12:24:00 -05:00
transaction_hooks Fixed #26627 -- Fixed on_commit callbacks execution order when callbacks make transactions. 2016-05-18 09:09:48 -04:00
transactions Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
unmanaged_models Removed British/Austrialian word: whilist. 2015-12-31 14:29:52 -05:00
update Sorted single letter imports per the latest version of isort. 2016-03-28 11:45:31 -04:00
update_only_fields Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
urlpatterns_reverse [1.10.x] Fixed #27018 -- Fixed admindocs crash with a view in a class. 2016-08-20 10:02:22 -04:00
user_commands [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:21:14 -04:00
utils_tests [1.10.x] Fixed #27912, CVE-2017-7233 -- Fixed is_safe_url() with numeric URLs. 2017-04-04 10:17:35 -04:00
validation [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
validators [1.10.x] Replaced use of TestCase.fail() with assertRaises(). 2016-07-01 09:58:56 -04:00
version Fixed #25769 -- Updated get_version() release candidate naming for PEP 0440. 2015-11-19 10:00:09 -05:00
view_tests [1.10.x] Fixed CVE-2017-12794 -- Fixed XSS possibility in traceback section of technical 500 debug page. 2017-09-05 11:19:56 -04:00
wsgi Fixed E128 flake8 warnings in tests/. 2016-04-08 10:12:33 -04:00
.coveragerc Fixed #25209 -- Removed parallel=True coverage option 2015-08-04 09:32:12 -04:00
README.rst [1.10.x] Updated "running the tests" to use 'pip install -e'. 2016-10-27 08:44:10 -04:00
runtests.py Fixed #26601 -- Improved middleware per DEP 0005. 2016-05-17 07:22:22 -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/.