Matthias Erll eee34ef64c Fixed #22550 -- Prohibited QuerySet.last()/reverse() after slicing. hace 11 años
..
absolute_url_overrides 60586dd737 Fixed #26125 -- Fixed E731 flake warnings. hace 9 años
admin_autodiscover 0ed7d15563 Sorted imports with isort; refs #23860. hace 10 años
admin_changelist 6b4f018b2b Replaced type-specific assertions with assertEqual(). hace 8 años
admin_checks 29f607927f Fixed spelling of "nonexistent". hace 8 años
admin_custom_urls d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
admin_docs 6092ea8fa6 Refs #27804 -- Used subTest() in several tests. hace 7 años
admin_filters d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
admin_inlines d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
admin_ordering 6b4f018b2b Replaced type-specific assertions with assertEqual(). hace 8 años
admin_registration d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
admin_scripts b3e55109bd Improved test coverage for startapp/startproject management commands. hace 7 años
admin_utils 389c3ffc04 Updated tests after French translation update hace 8 años
admin_views 6092ea8fa6 Refs #27804 -- Used subTest() in several tests. hace 7 años
admin_widgets 2a3a0eb092 Fixed #27905 -- Added RelatedFieldWidgetWrapper.value_omitted_from_data(). hace 8 años
aggregation d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
aggregation_regress daf2bd3efe Fixed #28107 -- Disabled grouping of selected primary keys for unmanaged models. hace 7 años
annotations 1d070d027c Fixed #25414 -- Fixed QuerySet.annotate() with pk in values() on MySQL. hace 8 años
app_loading 4e729feaa6 Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. hace 8 años
apps 6b4f018b2b Replaced type-specific assertions with assertEqual(). hace 8 años
auth_tests eedc88bd4a Fixed #26823 -- Prevented update_last_login signal receiver from crashing if User model doesn't have last_login field. hace 7 años
backends 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
base 2b281cc35e Refs #23919 -- Removed most of remaining six usage hace 8 años
bash_completion 92053acbb9 Fixed E128 flake8 warnings in tests/. hace 9 años
basic 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
builtin_server d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
bulk_create dc811cf503 Refs #22144 -- Added test for QuerySet.bulk_create() with long non-ASCII text. hace 8 años
cache 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
check_framework b23d264046 Fixed #27887 -- Fixed URLs check crash with namespaced URLs inside non-namespaced URLs. hace 8 años
choices f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
conditional_processing d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
contenttypes_tests 6092ea8fa6 Refs #27804 -- Used subTest() in several tests. hace 7 años
context_processors ab83d4d8fe Added multi_db=True to test cases that access the 'other' db connection. hace 8 años
csrf_tests c688336ebc Refs #23919 -- Assumed request COOKIES and META are str hace 8 años
custom_columns 7b2f2e74ad Refs #23919 -- Removed six.<various>_types usage hace 8 años
custom_lookups d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
custom_managers 6092ea8fa6 Refs #27804 -- Used subTest() in several tests. hace 7 años
custom_methods f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
custom_migration_operations 862ea825b5 Fixed #24093 -- Prevented MigrationWriter to write operation kwargs that are not explicitly deconstructed hace 10 años
custom_pk d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
datatypes d1bab24e01 Refs #23919, #27778 -- Removed obsolete mentions of unicode. hace 8 años
dates f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
datetimes f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
db_functions 7f8a924b45 Refs #27834 -- Removed Value wrapping from StrIndex's substring param. hace 8 años
db_typecasts 6092ea8fa6 Refs #27804 -- Used subTest() in several tests. hace 7 años
dbshell 66150f7cf6 Fixed #27954 -- Allowed keyboard interrupt to abort queries in PostgreSQL dbshell. hace 8 años
decorators 29f607927f Fixed spelling of "nonexistent". hace 8 años
defer d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
defer_regress d611a89238 Decreased max_length for char fields unless absolutely needed. (#8485) hace 8 años
delete 2b281cc35e Refs #23919 -- Removed most of remaining six usage hace 8 años
delete_regress d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
deprecation d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
dispatch cecc079168 Refs #23919 -- Stopped inheriting from object to define new style classes. hace 8 años
distinct_on_fields 289fc1bfa5 Refs #23919 -- Removed str_prefix usage hace 8 años
empty f7969b0920 Fixed #23620 -- Used more specific assertions in the Django test suite. hace 10 años
expressions f04495521a Fixed #28199 -- Fixed Subquery generating unnecessary/invalid CAST. hace 7 años
expressions_case d170c63351 Refs #23919 -- Removed misc references to Python 2. hace 8 años
extra_regress 8838d4dd49 Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments. hace 8 años
field_deconstruction 7b2f2e74ad Refs #23919 -- Removed six.<various>_types usage hace 8 años
field_defaults 7b2f2e74ad Refs #23919 -- Removed six.<various>_types usage hace 8 años
field_subclassing d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
file_storage 67e1afb4a8 Fixed #28224 -- Tested for SuspiciousOperation subclasses in Django's tests. hace 7 años
file_uploads 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
files 789c290150 Fixed #28170 -- Fixed file_move_safe() crash when moving files to a CIFS mount. hace 7 años
fixtures af1fa5e7da Fixed #27978 -- Allowed loaddata to read data from stdin. hace 7 años
fixtures_model_package f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
fixtures_regress 29f607927f Fixed spelling of "nonexistent". hace 8 años
flatpages_tests c651331b34 Converted usage of ugettext* functions to their gettext* aliases hace 8 años
force_insert_update d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
foreign_object d611a89238 Decreased max_length for char fields unless absolutely needed. (#8485) hace 8 años
forms_tests 84fb50df67 Fixed a forms test after updated translations. hace 7 años
from_db_value d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
generic_inline_admin cecc079168 Refs #23919 -- Stopped inheriting from object to define new style classes. hace 8 años
generic_relations 4d6584000a Refs #27745 -- Improved test coverage of contrib.contenttypes. hace 8 años
generic_relations_regress d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
generic_views c2eea61dff Fixed #28209 -- Made date-based generic views return a 404 rather than crash when given an out of range date. hace 7 años
get_earliest_or_latest d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
get_object_or_404 d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
get_or_create 37ab3c3f9d Fixed #28222 -- Allowed settable properties in QuerySet.update_or_create()/get_or_create() defaults. hace 7 años
gis_tests 9509268cea Refs #23804 -- Improved value validation in GDALRaster.geotransform setter. hace 7 años
handlers 6b4f018b2b Replaced type-specific assertions with assertEqual(). hace 8 años
httpwrappers 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
humanize_tests c651331b34 Converted usage of ugettext* functions to their gettext* aliases hace 8 años
i18n 04ab96ec4f Fixed #28015 -- Added makemessages --add-location option. hace 7 años
import_error_package c0cc8f69e7 Refactored tests that rely on an ImportError for Python 3.5 compatibility hace 10 años
indexes d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
inline_formsets d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
inspectdb 2366100872 Removed unneeded force_text calls in the test suite hace 8 años
introspection 3a5299c19c Fixed #28197 -- Fixed introspection of index field ordering on PostgreSQL. hace 7 años
invalid_models_tests 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
known_related_objects d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
logging_tests 500532c95d Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). hace 8 años
lookup 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
m2m_and_m2o d1bab24e01 Refs #23919, #27778 -- Removed obsolete mentions of unicode. hace 8 años
m2m_intermediary 7b2f2e74ad Refs #23919 -- Removed six.<various>_types usage hace 8 años
m2m_multiple f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
m2m_recursive f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
m2m_regress f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
m2m_signals f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
m2m_through f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
m2m_through_regress 2b281cc35e Refs #23919 -- Removed most of remaining six usage hace 8 años
m2o_recursive f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
mail dd00184892 Fixed #28042 -- Fixed crash when using a two-tuple in EmailMessage's attachments arg. hace 8 años
managers_regress d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
many_to_many d1bab24e01 Refs #23919, #27778 -- Removed obsolete mentions of unicode. hace 8 años
many_to_one a19b373d89 Changed assertQuerysetEqual()s that use default Model.__str__() to assertSequenceEqual(). hace 8 años
many_to_one_null f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
max_lengths d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
messages_tests 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
middleware 500532c95d Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). hace 8 años
middleware_exceptions 5f3a689f71 Imported django.http classes instead of django.http. hace 8 años
migrate_signals cecc079168 Refs #23919 -- Stopped inheriting from object to define new style classes. hace 8 años
migration_test_data_persistence d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
migrations 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
migrations2 d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
model_fields a9874d48b1 Fixed #28188 -- Fixed crash when pickling model fields. hace 7 años
model_forms 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
model_formsets 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
model_formsets_regress d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
model_indexes 3d19d1428a Fixed #27915 -- Allowed Meta.indexes to be defined in abstract models. hace 8 años
model_inheritance d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
model_inheritance_regress 59ab1b2683 Fixed #28210 -- Fixed Model._state.adding on MTI parent model after saving child model. hace 7 años
model_meta 6252fd6314 Fixed #27532 -- Deprecated Model._meta.has_auto_field hace 8 años
model_options d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
model_package d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
model_permalink 0083a4c8e9 Refs #18974 -- Deprecated @models.permalink() decorator. hace 8 años
model_regress d1bab24e01 Refs #23919, #27778 -- Removed obsolete mentions of unicode. hace 8 años
modeladmin d82ee32aac Fixed #27889 -- Fixed incorrect check error if ModelAdmin.ordering refers to 'pk'. hace 8 años
multiple_database 6b4f018b2b Replaced type-specific assertions with assertEqual(). hace 8 años
mutually_referential c2e70f0265 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField hace 9 años
nested_foreign_keys d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
no_models 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. hace 8 años
null_fk f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
null_fk_ordering f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
null_queries a19b373d89 Changed assertQuerysetEqual()s that use default Model.__str__() to assertSequenceEqual(). hace 8 años
one_to_one fce7827101 Fixed #28047 -- Fixed QuerySet.filter() crash when it uses the name of a OneToOneField pk. hace 8 años
or_lookups dc8834cad4 Refs #23919 -- Removed unneeded force_str calls hace 8 años
order_with_respect_to 6b4f018b2b Replaced type-specific assertions with assertEqual(). hace 8 años
ordering eee34ef64c Fixed #22550 -- Prohibited QuerySet.last()/reverse() after slicing. hace 7 años
pagination c0f12a098c Fixed #28109 -- Corrected the stack level of unordered queryset pagination warnings. hace 8 años
postgres_tests 650bf6714d Refs #27996 -- Skipped RandomUUID test on PostgreSQL 9.3. hace 7 años
prefetch_related ec05ff086c Refs #25546 -- Added detailed comments for prefetch_related test. hace 8 años
project_template 2ec56bb782 Fixed #26755 -- Fixed test_middleware_classes_headers if Django source isn't writable. hace 7 años
properties d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
proxy_model_inheritance 4e729feaa6 Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. hace 8 años
proxy_models d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
queries eee34ef64c Fixed #22550 -- Prohibited QuerySet.last()/reverse() after slicing. hace 7 años
queryset_pickle c651331b34 Converted usage of ugettext* functions to their gettext* aliases hace 8 años
raw_query 99df304c85 Fixed #28206 -- Fixed RawQuerySet crash on a model with a mixed case db_column pk on Oracle. hace 7 años
redirects_tests 5f3a689f71 Imported django.http classes instead of django.http. hace 8 años
requests 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
requirements 43380e9110 Fixed #27966 -- Bumped required psycopg2 version to 2.5.4. hace 8 años
reserved_names f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
resolve_url 7b2f2e74ad Refs #23919 -- Removed six.<various>_types usage hace 8 años
responses d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
reverse_lookup f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
save_delete_hooks d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
schema 663d1c3160 Simplified schema.tests with assertForeignKeyExists()/assertForeignKeyNotExists(). hace 7 años
select_for_update 2a6b4e6521 Updated docs after changing select_for_update() to raise NotSupportedError. hace 8 años
select_related f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
select_related_onetoone f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
select_related_regress 7b2f2e74ad Refs #23919 -- Removed six.<various>_types usage hace 8 años
serializers 0595bca221 Fixed #27742 -- Reverted "Fixed #24607 -- Serialized natural keys in multi-table inheritance models." hace 8 años
servers b6d4b6e544 Fixed #28212 -- Allowed customizing the port that LiveServerTestCase uses. hace 7 años
sessions_tests 67702f3505 Converted sessions_tests to use assertIs() rather than assertTrue/False(). hace 8 años
settings_tests 6b4f018b2b Replaced type-specific assertions with assertEqual(). hace 8 años
shell 7aba69145d Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. hace 8 años
shortcuts 7b6e42089c Fixed #25978 -- Deprecated shorcuts.render_to_response(). hace 8 años
signals d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
signed_cookies_tests d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports hace 8 años
signing 500532c95d Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). hace 8 años
sitemaps_tests 9f21e35100 Fixed #27842 -- Added protocol kwarg to GenericSitemap.__init__(). hace 8 años
sites_framework f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
sites_tests cecc079168 Refs #23919 -- Stopped inheriting from object to define new style classes. hace 8 años
staticfiles_tests b536dcf656 Fixed #27948 -- Removed incorrect unquote() in static serving views. hace 8 años
str 042b7350a0 Refs #23919 -- Removed unneeded str() calls hace 8 años
string_lookup 8346680e1c Refs #27795 -- Removed unneeded force_text calls hace 8 años
swappable_models 7d50d2bcb8 Refs #27790 -- Reverted "Removed available_apps on TestCase subclasses." hace 8 años
syndication_tests d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
template_backends 29f607927f Fixed spelling of "nonexistent". hace 8 años
template_loader 277fe2e8f2 Fixed #25788 -- Enabled the cached template loader if debug is False. hace 8 años
template_tests a7c6c705e8 Fixed #28129 -- Allowed custom template tags to use keyword-only arguments. hace 8 años
templates 1e629928e9 Fixed #27313 -- Allowed overriding admin popup response template. hace 8 años
test_client 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
test_client_regress 29592eef19 Decoupled test client encoding tests from JSON handling hace 8 años
test_discovery_sample 032f5a7896 Refs #25735 -- Made @tag decorator importable from django.test. hace 9 años
test_discovery_sample2 e22c64dfc0 Fixed #23742 -- Added an option to reverse tests order. hace 10 años
test_exceptions cfa26f29bd Reduced reduce() usage; refs #23796. hace 10 años
test_runner 2dc3280254 Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed. hace 8 años
test_utils 43c65e0eb0 Fixed #28180 -- Numbered queries in assertNumQueries failure output hace 7 años
timezones 6b4f018b2b Replaced type-specific assertions with assertEqual(). hace 8 años
transaction_hooks f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
transactions dfbdba924f Reverted "Refs #16682 -- Tested transaction.atomic() with KeyboardInterrupt." hace 8 años
unmanaged_models f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
update 7b2f2e74ad Refs #23919 -- Removed six.<various>_types usage hace 8 años
update_only_fields f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage hace 8 años
urlpatterns_reverse 98bcc5d81b Fixed #27367 -- Doc'd and tested reversing of URLs with the same name. hace 8 años
user_commands 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
utils_tests 21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls. hace 7 años
validation d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). hace 8 años
validators 289fc1bfa5 Refs #23919 -- Removed str_prefix usage hace 8 años
version b5f0b3478d Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. hace 8 años
view_tests 2cbb095bec Fixed #28221 -- Fixed plural fallback translations in JavaScriptCatalog view hace 7 años
wsgi cecc079168 Refs #23919 -- Stopped inheriting from object to define new style classes. hace 8 años
.coveragerc f6259ce776 Fixed #25209 -- Removed parallel=True coverage option hace 9 años
README.rst 1c466994d9 Refs #23919 -- Removed misc Python 2/3 references. hace 8 años
runtests.py 4a251f8bce Fixed AppRegistryNotReady error when running gis_tests in isolation on PostGIS. hace 7 años
test_sqlite.py 23a5ec0782 Added trailing comma. hace 10 años
urls.py 37ea3cb03e Fixed "URLconf" spelling in code comments. hace 9 años

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
$ ./runtests.py

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