Bas Peschier 23a5d64f40 Fixed #13525 -- Added tests and docs for nested parameters in URL patterns. 10 tahun lalu
..
absolute_url_overrides c32bc1a7a7 Fixed #11775 -- Made ABSOLUTE_URL_OVERRIDES work with models that don't define get_absolute_url(). 10 tahun lalu
admin_autodiscover 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
admin_changelist eb5ebcc2d0 Fixed #24285 -- Made for_user argument optional for {% get_admin_log %} tag 10 tahun lalu
admin_checks 19188826b4 Fixed #24146 -- Allowed model._meta.get_field() to be used after apps.models_ready 10 tahun lalu
admin_custom_urls 39a7eed1bb Converted test fixtures to setUpTestData methods 10 tahun lalu
admin_docs 39a7eed1bb Converted test fixtures to setUpTestData methods 10 tahun lalu
admin_filters 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
admin_inlines 82f7bee1d5 Fixed admin selenium tests broken by removal of fixtures. 10 tahun lalu
admin_ordering 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
admin_registration 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
admin_scripts 934400759d Guaranteed removal of temporary files during tests. 10 tahun lalu
admin_utils 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
admin_views aea02ddfb7 Fixed #24490 -- Set LogEntry.change_message when adding an object. 10 tahun lalu
admin_widgets 82f7bee1d5 Fixed admin selenium tests broken by removal of fixtures. 10 tahun lalu
aggregation 39a7eed1bb Converted test fixtures to setUpTestData methods 10 tahun lalu
aggregation_regress fb146193c4 Fixed #24171 -- Fixed failure with complex aggregate query and expressions 10 tahun lalu
annotations 02a2943e4c Fixed #24485 -- Allowed combined expressions to set output_field 10 tahun lalu
app_loading 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
apps 307c0f299a Refs #24324 -- Fixed Python 2 test failures when path to Django source contains non-ASCII characters. 10 tahun lalu
auth_tests 0ed20d5cc4 Fixed #23926 -- Improved validation error for custom permissions that are too long. 10 tahun lalu
backends 3adc5f1ee6 Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for contrib.postgres). 10 tahun lalu
base 1716b7ce5a Renamed AppCache to Apps. 11 tahun lalu
bash_completion 7e8cf74dc7 Removed support for syncing apps without migrations per deprecation timeline. 10 tahun lalu
basic 5cf96b49e4 Fixed #24418 -- Prevented crash in refresh_from_db with null fk 10 tahun lalu
builtin_server 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
bulk_create 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
cache 34fb909180 Fixed #12982 -- Added a get_or_set() method to the BaseCache backend. 10 tahun lalu
check_framework c970018f41 Removed Django 1.7 MIDDLEWARE_CLASSES upgrade check. 10 tahun lalu
choices 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
conditional_processing 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
contenttypes_tests 81e1a35c36 Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 10 tahun lalu
context_processors 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
createsuperuser 494ba051bb Made testing of stdout and stderr more consistent. 10 tahun lalu
csrf_tests 668d53cd12 Fixed #21495 -- Added settings.CSRF_HEADER_NAME 10 tahun lalu
custom_columns 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
custom_lookups 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
custom_managers 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
custom_methods 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 tahun lalu
custom_migration_operations 862ea825b5 Fixed #24093 -- Prevented MigrationWriter to write operation kwargs that are not explicitly deconstructed 10 tahun lalu
custom_pk 32d4db66b9 Update converters to take a consistent set of parameters. 10 tahun lalu
datatypes f7969b0920 Fixed #23620 -- Used more specific assertions in the Django test suite. 10 tahun lalu
dates 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
datetimes 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
db_functions e2d6e14662 Refs #14030 -- Improved expression support for python values 10 tahun lalu
db_typecasts 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
dbshell 01801edd37 Fixed #22646: Added support for the MySQL ssl-ca option to dbshell. 10 tahun lalu
decorators 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
defer 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
defer_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
delete 81c2d9f60b Fixed #15579 -- Added ability to delete only child models in multi-table inheritance. 10 tahun lalu
delete_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
deprecation f0a1df0b01 Removed deprecated Chinese language codes; refs #18149. 10 tahun lalu
dispatch 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
distinct_on_fields 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
empty f7969b0920 Fixed #23620 -- Used more specific assertions in the Django test suite. 10 tahun lalu
expressions 02a2943e4c Fixed #24485 -- Allowed combined expressions to set output_field 10 tahun lalu
expressions_case ceaf31adff Fixed #24420 -- Allowed ordering by case expressions 10 tahun lalu
extra_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
field_deconstruction b4a56ed4f5 Refs #24483 -- Added a test for deconstruction of Field.choices 10 tahun lalu
field_defaults f7969b0920 Fixed #23620 -- Used more specific assertions in the Django test suite. 10 tahun lalu
field_subclassing 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
file_storage 934400759d Guaranteed removal of temporary files during tests. 10 tahun lalu
file_uploads a8fe12417f Normalized usage of the tempfile module. 10 tahun lalu
files 934400759d Guaranteed removal of temporary files during tests. 10 tahun lalu
fixtures 90b069c33f Prevented some tests from writing in the CWD. 10 tahun lalu
fixtures_model_package 4aa089a9a9 Removed support for custom SQL per deprecation timeline. 10 tahun lalu
fixtures_regress b8d6cdbcc9 Refs #24324 -- Skipped fixtures_regress tests that fail on Python 2 on a non-ASCII path. 10 tahun lalu
flatpages_tests 0339844b70 Fixed #24476 -- Added context manager/decorator for overriding script prefix. 10 tahun lalu
force_insert_update 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
foreign_object 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
forms_tests 28986da4ca Fixed #5986 -- Added ability to customize order of Form fields 10 tahun lalu
from_db_value 32d4db66b9 Update converters to take a consistent set of parameters. 10 tahun lalu
generic_inline_admin 39a7eed1bb Converted test fixtures to setUpTestData methods 10 tahun lalu
generic_relations 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
generic_relations_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
generic_views a0c2eb46dd Fixed #23960 -- Removed http.fix_location_header 10 tahun lalu
get_earliest_or_latest 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
get_object_or_404 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
get_or_create 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
gis_tests a6bada1ee0 Revert "Removed unneeded app_label definitions in gis_tests" 10 tahun lalu
handlers 336512fae7 Fixed #23173 -- Fixed incorrect stripping of SCRIPT_URL 10 tahun lalu
http_utils a0c2eb46dd Fixed #23960 -- Removed http.fix_location_header 10 tahun lalu
httpwrappers efb1f99f94 Fixed #20889 -- Prevented BadHeaderError when Python inserts newline 10 tahun lalu
humanize_tests 8192a164de Moved contrib.humanize tests out of contrib. 10 tahun lalu
i18n 9e83f30cd3 Fixed #24515 -- Fixed DjangoTranslation plural handling 10 tahun lalu
import_error_package c0cc8f69e7 Refactored tests that rely on an ImportError for Python 3.5 compatibility 10 tahun lalu
indexes 8ca35d7c6a Fixed Oracle build failure introduced by refs #24390. 10 tahun lalu
inline_formsets 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
inspectdb 33457cd3b0 Removed IPAddressField per deprecation timeline; refs #20439. 10 tahun lalu
introspection db77915c9f Fixed E265 comment style 10 tahun lalu
invalid_models_tests f2e4d39a71 Switched to use assertEqual instead of assertEquals. 10 tahun lalu
known_related_objects 39a7eed1bb Converted test fixtures to setUpTestData methods 10 tahun lalu
logging_tests 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
lookup 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
m2m_and_m2o 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
m2m_intermediary 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
m2m_multiple 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 tahun lalu
m2m_recursive 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 tahun lalu
m2m_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
m2m_signals 82ec05fcc9 Refs #18586 -- Split up tests/m2m_signals 10 tahun lalu
m2m_through 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
m2m_through_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
m2o_recursive 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 tahun lalu
mail a3e75f6bed Removed unused imports. 10 tahun lalu
managers_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
many_to_many c5a77721e2 Merged ManyRelatedObjectsDescriptor and ReverseManyRelatedObjectsDescriptor 10 tahun lalu
many_to_one 81e1a35c36 Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 10 tahun lalu
many_to_one_null 71ada3a8e6 Fixed #6707 -- Added RelatedManager.set() and made descriptors' __set__ use it. 10 tahun lalu
max_lengths 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
messages_tests b3cd9e0d07 Moved contrib.messages tests out of contrib. 10 tahun lalu
middleware a0c2eb46dd Fixed #23960 -- Removed http.fix_location_header 10 tahun lalu
middleware_exceptions 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
migrate_signals 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
migration_test_data_persistence 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
migrations 8758a63ddb Fixed #24427 -- Stopped writing migration files in dry run mode when merging. 10 tahun lalu
migrations2 d7ab2cefb7 Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations." 10 tahun lalu
model_fields 934400759d Guaranteed removal of temporary files during tests. 10 tahun lalu
model_forms b4a1bb8669 Updated test to be date-independent 10 tahun lalu
model_formsets 4c2f546b55 Fixed #24395 -- Ensured inline ModelsForms have an updated related instance. 10 tahun lalu
model_formsets_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
model_inheritance 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
model_inheritance_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
model_meta bad5f262bf Fixed #24328 -- cleaned up Options._get_fields() implementation 10 tahun lalu
model_options 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
model_package 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
model_permalink 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
model_regress a8fe12417f Normalized usage of the tempfile module. 10 tahun lalu
model_validation 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
modeladmin 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
multiple_database fa5f936b48 Fixed allow_migrate signature in one of the tests. 10 tahun lalu
mutually_referential 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 tahun lalu
nested_foreign_keys 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
no_models 1716b7ce5a Renamed AppCache to Apps. 11 tahun lalu
null_fk 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
null_fk_ordering 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
null_queries 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
one_to_one 81e1a35c36 Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 10 tahun lalu
or_lookups 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 tahun lalu
order_with_respect_to 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
ordering f218a2ff45 Refs #24060 -- Added a test demonstrating reverse order isn't mutable 10 tahun lalu
pagination 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
postgres_tests 1d1d5d1c31 Fixed #24341 -- Added specific error messages to RangeField subclasses 10 tahun lalu
prefetch_related db77915c9f Fixed E265 comment style 10 tahun lalu
project_template 50c1d8f24b Added a test to verify headers set by default middleware; refs #23939. 10 tahun lalu
properties 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 tahun lalu
proxy_model_inheritance 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
proxy_models 39a7eed1bb Converted test fixtures to setUpTestData methods 10 tahun lalu
queries 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
queryset_pickle f95122e541 Fixed #24381 -- removed ForeignObjectRel opts and to_opts 10 tahun lalu
raw_query 39a7eed1bb Converted test fixtures to setUpTestData methods 10 tahun lalu
redirects_tests 00da46091a Moved contrib.redirects tests out of contrib. 10 tahun lalu
requests 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
requirements 3adc5f1ee6 Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for contrib.postgres). 10 tahun lalu
reserved_names 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 tahun lalu
resolve_url 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
responses d861f95c44 Fixed #24139 -- Changed HttpResponse.reason_phrase to evaluate based on status_code. 10 tahun lalu
reverse_lookup 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
save_delete_hooks 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 tahun lalu
schema f4f0060fea Fixed #24447 -- Made migrations add FK constraints for existing columns 10 tahun lalu
select_for_update 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
select_related 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
select_related_onetoone 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
select_related_regress 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
serializers 32d4db66b9 Update converters to take a consistent set of parameters. 10 tahun lalu
serializers_regress 5c995dcfc2 Fixed #24320 - Used field.value_to_string() in serialization of foreign key. 10 tahun lalu
servers c8074d62f8 Fixed typo in error message in the test. 10 tahun lalu
sessions_tests 8a481498aa Fixed #24468 -- Made signed cookies cache backend resilient to unpickling exceptions. 10 tahun lalu
settings_tests 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
shortcuts 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
signals f957e2b04c Added a test for model pre/post_init signals. 10 tahun lalu
signed_cookies_tests 994d6137a2 Fixed #23792 -- Added test.utils.freeze_time() context manager. 10 tahun lalu
signing 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
sitemaps_tests f668bac9d2 Fixed #24345 -- Isolated sitemaps_tests from contenttypes_tests; refs #11505 10 tahun lalu
sites_framework 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
sites_tests 818182b514 Fixed #24488 -- Made create_default_site() use default pk of 1. 10 tahun lalu
staticfiles_tests 389baccac5 Fixed staticfiles test on Windows; refs #23986. 10 tahun lalu
str 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 tahun lalu
string_lookup 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
swappable_models 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
syndication_tests 39a7eed1bb Converted test fixtures to setUpTestData methods 10 tahun lalu
template_backends 6bff343989 Refs #24469 -- Fixed escaping of forms, fields, and media in non-Django templates. 10 tahun lalu
template_loader 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
template_tests 55f12f8709 Cleaned up the template debug implementation. 10 tahun lalu
templates 1827aa9024 Cleaned up template loader tests. 10 tahun lalu
test_client a0c2eb46dd Fixed #23960 -- Removed http.fix_location_header 10 tahun lalu
test_client_regress a0c2eb46dd Fixed #23960 -- Removed http.fix_location_header 10 tahun lalu
test_discovery_sample bc6caa5d45 Made a doctest compatible with Python 2 10 tahun lalu
test_discovery_sample2 e22c64dfc0 Fixed #23742 -- Added an option to reverse tests order. 10 tahun lalu
test_exceptions cfa26f29bd Reduced reduce() usage; refs #23796. 10 tahun lalu
test_runner 307c0f299a Refs #24324 -- Fixed Python 2 test failures when path to Django source contains non-ASCII characters. 10 tahun lalu
test_runner_deprecation_app 0c6a339952 Avoided changing raw DeprecationWarning filter behavior 11 tahun lalu
test_utils 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
timezones 39a7eed1bb Converted test fixtures to setUpTestData methods 10 tahun lalu
transactions 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
unmanaged_models 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
update 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
update_only_fields 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
urlpatterns_reverse 23a5d64f40 Fixed #13525 -- Added tests and docs for nested parameters in URL patterns. 10 tahun lalu
user_commands 197dd4b8f1 Prevented some test commands from needlessly running system checks. 10 tahun lalu
utils_tests 011a54315e Made is_safe_url() reject URLs that start with control characters. 10 tahun lalu
validation 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
validators 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
version 66ec9ee441 Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests. 11 tahun lalu
view_tests 6bb2175ed6 Fixed #22106 -- Allowed using more than one instance of javascript_catalog per project. 10 tahun lalu
webdesign_tests 8ec306a3a9 Moved contrib.webdesign tests out of contrib. 10 tahun lalu
wsgi 0ed7d15563 Sorted imports with isort; refs #23860. 10 tahun lalu
.coveragerc 41f0d3d3bc Removed FastCGI support per deprecation timeline; refs #20766. 10 tahun lalu
README.rst 82e4f956e3 Fixed #23289 -- Added mock as a test dependency. 10 tahun lalu
runtests.py 934400759d Guaranteed removal of temporary files during tests. 10 tahun lalu
test_sqlite.py 23a5ec0782 Added trailing comma. 10 tahun lalu
urls.py d73d0e071c Fixed #22218 -- Deprecated django.conf.urls.patterns. 11 tahun lalu

README.rst

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