1
0
mirror of https://github.com/django/django.git synced 2024-12-29 12:36:08 +00:00
django/tests
Shai Berger 8f9a4d3a2b [1.8.x] Fixed catastrophic backtracking in URLValidator.
Thanks João Silva for reporting the problem and Tim Graham for finding the
problematic RE and for review.

This is a security fix; disclosure to follow shortly.
2015-07-08 15:23:19 -04:00
..
absolute_url_overrides
admin_autodiscover [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
admin_changelist [1.8.x] Fixed #24851 -- Fixed crash with reverse one-to-one relation in ModelAdmin.list_display 2015-05-28 10:37:31 -04:00
admin_checks [1.8.x] Fixed #24146 -- Allowed model._meta.get_field() to be used after apps.models_ready 2015-02-10 19:55:42 -05:00
admin_custom_urls [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
admin_docs [1.8.x] Refs #24625 -- Filtered docutils warnings output in tests 2015-04-14 11:27:57 +02:00
admin_filters [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
admin_inlines [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
admin_ordering [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
admin_registration [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
admin_scripts [1.8.x] Fixed #24571 -- Restored testserver positional arguments parsing 2015-04-04 10:48:40 +02:00
admin_utils [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
admin_validation [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
admin_views [1.8.x] Added test for LogEntry.get_edited_object(); refs #24244. 2015-03-23 08:52:32 -04:00
admin_widgets [1.8.x] Refs #14497 -- Handled empty readonly admin FileFields 2015-02-11 13:01:25 -05:00
aggregation [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
aggregation_regress [1.8.x] Fixed #24748 -- Fixed incorrect GROUP BY on MySQL in some queries 2015-05-11 11:52:14 -04:00
annotations [1.8.x] Fixed #24835 -- Fixed QuerySet.exists() after an annotation with Count() 2015-05-25 20:47:28 -04:00
app_loading [1.8.x] Silenced deprecation warning in refs #24287 test. 2015-02-09 12:34:23 -05:00
apps [1.8.x] Refs #23621 -- Fixed warning message when reloading models. 2015-06-30 15:01:22 -04:00
auth_tests [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
backends [1.8.x] Fixed #24791 -- Added fallback when 'postgres' database isn't available 2015-05-15 18:46:05 +02:00
base
bash_completion
basic [1.8.x] Fixed #24584 -- Fixed microsecond handling with older MySQLdb 2015-04-06 22:45:36 +02:00
builtin_server [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
bulk_create [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
cache [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:55:50 +07:00
check_framework [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
choices [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
commands_sql [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
commands_sql_migrations [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
conditional_processing [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
contenttypes_tests [1.8.x] Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 2015-03-18 19:12:46 -04:00
context_processors [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
createsuperuser
csrf_tests [1.8.x] Refs #24836 -- Reverted "Simplified the lazy CSRF token implementation in csrf context processor." 2015-05-27 09:29:45 -04:00
custom_columns [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
custom_lookups [1.8.x] Replaced try..except blocks by context manager in custom lookups tests 2015-07-07 12:04:21 -04:00
custom_managers [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
custom_methods
custom_migration_operations Fixed #24093 -- Prevented MigrationWriter to write operation kwargs that are not explicitly deconstructed 2015-01-07 17:29:20 -07:00
custom_pk [1.8.x] Update converters to take a consistent set of parameters. 2015-02-20 11:47:48 +00:00
datatypes [1.8.x] Used assertIsInstance in tests. 2015-04-27 08:42:52 -04:00
dates [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
datetimes [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
db_functions [1.8.x] Refs #14030 -- Improved expression support for python values 2015-02-12 08:53:03 +11:00
db_typecasts [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
dbshell
decorators [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
defer [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
defer_regress [1.8.x] Used assertIsInstance in tests. 2015-04-27 08:42:52 -04:00
delete [1.8.x] Fixed #24714 -- Used more specific assertions than assertEqual in tests. 2015-04-28 09:31:35 -04:00
delete_regress [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
deprecation [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
dispatch [1.8.x] Used assertIsInstance in tests. 2015-04-27 08:42:52 -04:00
distinct_on_fields [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
empty
expressions Fixed #24485 -- Allowed combined expressions to set output_field 2015-03-22 17:41:12 +11:00
expressions_case [1.8.x] Fixed #24924 -- Join promotion for multiple Case expressions 2015-06-05 12:23:08 -04:00
extra_regress [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
field_deconstruction [1.8.x] Refs #24483 -- Added a test for deconstruction of Field.choices 2015-03-18 13:56:33 -04:00
field_defaults
field_subclassing [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
file_storage [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
file_uploads [1.8.x] Normalized usage of the tempfile module. 2015-02-23 15:26:35 -05:00
files [1.8.x] Guaranteed removal of temporary files during tests. 2015-02-23 15:26:26 -05:00
fixtures [1.8.x] Prevented some tests from writing in the CWD. 2015-03-07 10:40:17 -05:00
fixtures_migration [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
fixtures_model_package
fixtures_regress [1.8.x] Refs #24324 -- Skipped fixtures_regress tests that fail on Python 2 on a non-ASCII path. 2015-02-18 07:36:02 -05:00
flatpages_tests [1.8.x] Fixed typos in flatpages_tests comments. 2015-02-24 06:31:59 -05:00
force_insert_update [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
foreign_object [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
forms_tests [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
from_db_value [1.8.x] Update converters to take a consistent set of parameters. 2015-02-20 11:47:48 +00:00
generic_inline_admin [1.8.x] Fixed #24940 -- Made model managers hashable 2015-06-19 19:15:01 +02:00
generic_relations [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
generic_relations_regress [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
generic_views [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
get_earliest_or_latest [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
get_object_or_404 [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
get_or_create [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
gis_tests [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
handlers [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
http_utils [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
httpwrappers [1.8.x] Fixed #20889 -- Prevented BadHeaderError when Python inserts newline 2015-02-19 20:19:38 +01:00
humanize_tests [1.8.x] Moved contrib.humanize tests out of contrib. 2015-02-11 11:55:53 -05:00
i18n [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
import_error_package [1.8.x] Refactored tests that rely on an ImportError for Python 3.5 compatibility 2015-02-03 18:31:17 -05:00
indexes [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
initial_sql_regress [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
inline_formsets [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
inspectdb Fixed #23891 -- Moved deprecation of IPAddressField to system check framework. 2015-01-01 13:30:52 -05:00
introspection [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
invalid_models_tests [1.8.x] Fixed #25055 -- Made m2m long name testing friendlier for 3rd party databases. 2015-07-03 09:00:36 -04:00
known_related_objects [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
logging_tests [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
lookup [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
m2m_and_m2o [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
m2m_intermediary [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
m2m_multiple
m2m_recursive
m2m_regress [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
m2m_signals [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
m2m_through [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
m2m_through_regress [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
m2o_recursive
mail [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
managers_regress [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
many_to_many
many_to_one [1.8.x] Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 2015-03-18 19:12:46 -04:00
many_to_one_null
max_lengths [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
messages_tests [1.8.x] Moved contrib.messages tests out of contrib. 2015-02-11 11:55:05 -05:00
middleware [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
middleware_exceptions [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
migrate_signals [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
migration_test_data_persistence [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
migrations [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
migrations2
model_fields [1.8.x] Fixed flake8 warnings on Python 3. 2015-06-15 13:01:41 -04:00
model_forms [1.8.x] Guaranteed removal of temporary files during tests. 2015-02-23 15:26:26 -05:00
model_formsets [1.8.x] Fixed #24958 -- Fixed inline forms using UUID-PK parents with auto-PK children. 2015-06-26 09:15:59 -04:00
model_formsets_regress [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
model_inheritance [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
model_inheritance_regress [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
model_meta [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
model_options [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
model_package [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
model_permalink [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
model_regress [1.8.x] Fixed model_regress test failure on non-ASCII path; refs #24717. 2015-04-30 08:13:30 -04:00
model_validation [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
modeladmin [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
multiple_database [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
mutually_referential
nested_foreign_keys [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
no_models
null_fk [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
null_fk_ordering [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
null_queries [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
one_to_one [1.8.x] Fixed #24578 -- Fixed crash with QuerySet.update() on FK to O2O fields. 2015-04-09 08:24:07 -04:00
or_lookups
order_with_respect_to [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
ordering [1.8.x] Refs #24060 -- Added a test demonstrating reverse order isn't mutable 2015-01-28 11:03:25 +11:00
pagination [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
postgres_tests [1.8.x] Added missing tests for transforms usage with subquery for PostgreSQL fields 2015-06-06 09:12:07 -04:00
prefetch_related [1.8.x] Fixed #24912 -- Fixed prefetch_related failure for UUIDField primary keys 2015-06-15 17:31:50 -04:00
project_template
properties
proxy_model_inheritance [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
proxy_models [1.8.x] Fixed #24328 -- cleaned up Options._get_fields() implementation 2015-02-20 13:11:59 -05:00
queries [1.8.x] Fixed flake8 warnings on Python 3. 2015-06-15 13:01:41 -04:00
queryset_pickle [1.8.x] Fixed #24831 -- Fixed pickling queryset with prefetch_related() after deleting objects. 2015-06-02 10:07:45 -04:00
raw_query [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
redirects_tests [1.8.x] Moved contrib.redirects tests out of contrib. 2015-02-11 11:55:40 -05:00
requests [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
requirements [1.8.x] Fixed #25056 -- Documented minimum version of jinja2 for testing. 2015-07-03 08:22:34 -04:00
reserved_names
resolve_url [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
responses
reverse_lookup [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
save_delete_hooks
schema [1.8.x] Fixed #24972 -- Fixed removing unique_together indexes on MySQL. 2015-06-15 17:32:07 -04:00
select_for_update [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
select_related [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
select_related_onetoone [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
select_related_regress [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
serializers [1.8.x] Update converters to take a consistent set of parameters. 2015-02-20 11:47:48 +00:00
serializers_regress [1.8.x] Fixed #24320 - Used field.value_to_string() in serialization of foreign key. 2015-02-13 12:45:35 -05:00
servers [1.8.x] Fixed typo in django.core.servers.basehttp message. 2015-02-19 19:37:22 -05:00
sessions_tests [1.8.x] Fixed #19324 -- Avoided creating a session record when loading the session. 2015-07-08 15:23:18 -04:00
settings_tests [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
shortcuts [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
signals
signed_cookies_tests
signing [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
sitemaps_tests [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
sites_framework [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
sites_tests [1.8.x] Fixed #24488 -- Made create_default_site() use default pk of 1. 2015-03-16 13:31:22 -04:00
staticfiles_tests [1.8.x] Guaranteed removal of temporary files during tests. 2015-02-23 15:26:26 -05:00
str
string_lookup [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
swappable_models [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
syndication_tests [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
template_backends [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
template_loader [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
template_tests [1.8.x] Fixed #25031 -- Fixed a regression in the unordered_list template filter. 2015-06-27 09:39:29 -04:00
templates [1.8.x] Cleaned up template loader tests. 2015-02-24 08:59:05 -05:00
test_client [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
test_client_regress [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
test_discovery_sample
test_discovery_sample2
test_exceptions
test_runner [1.8.x] Refs #24324 -- Fixed Python 2 test failures when path to Django source contains non-ASCII characters. 2015-02-17 19:05:31 -05:00
test_runner_deprecation_app
test_utils [1.8.x] Fixed #24903 -- Fixed assertRaisesMessage on Python 2.7.10. 2015-06-09 17:54:33 -04:00
timezones [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
transactions [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
unmanaged_models [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
update [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
update_only_fields [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
urlpatterns_reverse [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
user_commands [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
utils_tests [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
validation [1.8.x] Fixed #24714 -- Used more specific assertions than assertEqual in tests. 2015-04-28 09:31:35 -04:00
validators [1.8.x] Fixed catastrophic backtracking in URLValidator. 2015-07-08 15:23:19 -04:00
version
view_tests [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
webdesign_tests [1.8.x] Moved contrib.webdesign tests out of contrib. 2015-02-11 12:35:32 -05:00
wsgi [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
.coveragerc
README.rst
runtests.py [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
test_sqlite.py
urls.py

To run the test suite::

    $ cd tests
    $ pip install -r requirements/py3.txt  # or py2.txt
    $ PYTHONPATH=..:$PYTHONPATH ./runtests.py

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