django/tests
Konrad Świat c6da621def Fixed #24623 -- Fixed EmailMessage.attach_file() with text files on Python 3.
Thanks tkrapp for the report and Tim Graham for the review.
2015-07-25 07:42:30 -04:00
..
absolute_url_overrides Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
admin_autodiscover
admin_changelist Fixed #21927 -- Made application and instance namespaces more distinct. 2015-06-08 15:12:20 -04:00
admin_checks Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
admin_custom_urls Fixed #21927 -- Made application and instance namespaces more distinct. 2015-06-08 15:12:20 -04:00
admin_docs Fixed #25115 -- Made admindocs view bookmarklet reverse the URL rather than hardcode it. 2015-07-13 12:44:37 -04:00
admin_filters
admin_inlines Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
admin_ordering Refs #24553 -- Isolated admin_* tests. 2015-05-14 09:57:13 -04:00
admin_registration Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
admin_scripts Fixed #24971 -- Made startapp generate an apps.py 2015-06-16 07:08:04 -04:00
admin_utils Fixed #24962 -- Added newline to characters escaped by contrib.admin.utils.quote() 2015-06-18 16:10:44 -04:00
admin_views Refs #24919 -- Made test models serializable for migrations. 2015-07-21 09:19:40 -04:00
admin_widgets Refs #25006 -- Added a '6 p.m.' option to the admin's time picker. 2015-06-22 07:24:57 -04:00
aggregation Fixed #24923 -- errored out nicely when using aggregates in order_by() 2015-07-13 08:36:25 -04:00
aggregation_regress Fixed #18247 -- Added cast to NUMERIC for Decimals on sqlite 2015-06-30 18:27:42 -04:00
annotations Fixed #24835 -- Fixed QuerySet.exists() after an annotation with Count() 2015-05-25 20:46:20 -04:00
app_loading Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
apps Refs #23621 -- Fixed warning message when reloading models. 2015-06-30 15:00:10 -04:00
auth_tests Fixed #25052; refs #16860 -- Added password validation to UserCreationForm. 2015-07-20 13:44:34 -04:00
backends Fixed db.utils.load_backend() on non-ASCII paths. 2015-07-17 08:21:43 -04:00
base
bash_completion
basic Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
builtin_server
bulk_create Fixed #24997 -- Enabled bulk_create() on proxy models 2015-07-02 13:53:51 -04:00
cache Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
check_framework Fixed #24966 -- Added deployment system check for empty ALLOWED_HOSTS. 2015-07-15 09:18:58 -04:00
choices
conditional_processing Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
contenttypes_tests Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 2015-03-18 19:00:09 -04:00
context_processors Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
createsuperuser
csrf_tests Fixed #24836 -- Made force_text() resolve lazy objects. 2015-05-27 09:48:53 -04:00
custom_columns Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
custom_lookups Replaced try..except blocks by context manager in custom lookups tests 2015-07-07 12:03:58 -04:00
custom_managers Fixed #24911 -- Made BaseManager.get_queryset() allow custom queryset args. 2015-06-30 13:48:30 -04:00
custom_methods Renamed value_to_db_xxx to adapt_xxxfield_value. 2015-05-17 09:39:34 +02:00
custom_migration_operations
custom_pk
datatypes
dates
datetimes
db_functions Fixed tests for refs #24767 on databases that don't support microseconds. 2015-06-08 11:03:10 -04:00
db_typecasts
dbshell Refs #23658 -- Fixed dbshell tests on Windows. 2015-07-06 16:17:56 -04:00
decorators
defer Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
defer_regress
delete Fixed #25129 -- Made model instance defaults work with migrations (refs #24919). 2015-07-21 09:19:40 -04:00
delete_regress
deprecation Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
dispatch
distinct_on_fields Fixed #25081 -- Prevented DISTINCT ON ordering from being cleared in get(). 2015-07-09 16:00:52 -04:00
empty
expressions Added comment to test_query_clone indicating lack of assert is intentional. 2015-06-05 00:51:49 -04:00
expressions_case Fixed #24924 -- Join promotion for multiple Case expressions 2015-06-05 12:22:43 -04:00
extra_regress
field_deconstruction Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
field_defaults
field_subclassing Refs #24919 -- Made test models serializable for migrations. 2015-07-21 09:19:40 -04:00
file_storage Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
file_uploads Replaced six.BytesIO with io.BytesIO 2015-07-20 08:19:47 -04:00
files Fixed #24963 -- Added File.seekable() on Python 3. 2015-06-12 10:17:21 -04:00
fixtures Fixed #22258 -- Added progress status for dumpdata when outputting to file 2015-07-24 18:37:55 +02:00
fixtures_model_package
fixtures_regress
flatpages_tests Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
force_insert_update
foreign_object
forms_tests Fixed #25129 -- Made model instance defaults work with migrations (refs #24919). 2015-07-21 09:19:40 -04:00
from_db_value Refs #9619 -- Fixed failing test case 2015-06-17 20:07:00 +02:00
generic_inline_admin Fixed #24940 -- Made model managers hashable 2015-06-19 19:02:01 +02:00
generic_relations Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
generic_relations_regress
generic_views Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
get_earliest_or_latest
get_object_or_404
get_or_create Refs #22728 - Added missing tests for defaults__exact case 2015-06-05 09:22:49 +01:00
gis_tests Fixed #25141 -- Diminished GDAL dependence during geojson serialization 2015-07-20 20:22:29 +02:00
handlers Fixed #24829 -- Allowed use of TemplateResponse in view error handlers. 2015-06-17 17:11:50 -04:00
http_utils Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
httpwrappers Refs #24121 -- Added meaningful repr() to HttpResponse and subclasses. 2015-07-15 09:01:25 -04:00
humanize_tests
i18n Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
import_error_package
indexes
inline_formsets
inspectdb
introspection
invalid_models_tests Fixed #25055 -- Made m2m long name testing friendlier for 3rd party databases. 2015-07-03 09:00:08 -04:00
known_related_objects
logging_tests Fixed #25099 -- Cleaned up HttpRequest representations in error reporting. 2015-07-13 19:22:39 -04:00
lookup Fixed #22316 -- Added time filters to TimeField on SQLite. 2015-06-04 22:27:13 -04:00
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_regress
m2m_signals
m2m_through
m2m_through_regress
m2o_recursive
mail Fixed #24623 -- Fixed EmailMessage.attach_file() with text files on Python 3. 2015-07-25 07:42:30 -04:00
managers_regress Used assertRaisesMessage in managers_regress tests. 2015-07-02 14:23:28 -04:00
many_to_many
many_to_one
many_to_one_null
max_lengths
messages_tests Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
middleware Fixed some unclosed objects in tests 2015-07-06 10:10:40 -04:00
middleware_exceptions Fixed #24877 -- Added middleware handling of response.render() errors. 2015-07-03 12:06:40 -04:00
migrate_signals Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
migration_test_data_persistence
migrations Fixed #24375 -- Added Migration.initial attribute 2015-07-13 15:57:40 -04:00
migrations2
model_fields Fixed #25129 -- Made model instance defaults work with migrations (refs #24919). 2015-07-21 09:19:40 -04:00
model_forms Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
model_formsets Fixed #24958 -- Fixed inline forms using UUID-PK parents with auto-PK children. 2015-06-26 09:09:09 -04:00
model_formsets_regress
model_inheritance
model_inheritance_regress
model_meta Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
model_options
model_package
model_permalink Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
model_regress
model_validation Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
modeladmin Fixed #24908 -- Fixed duplicate readonly field rendering. 2015-07-02 13:37:30 -04:00
multiple_database Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
mutually_referential
nested_foreign_keys
no_models Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
null_fk
null_fk_ordering
null_queries
one_to_one Fixed #23791 -- Corrected object type check for pk__in=qs 2015-06-29 07:49:31 -04:00
or_lookups
order_with_respect_to
ordering
pagination Fixed #23190 -- Made Paginator.page_range an iterator 2015-07-03 11:34:34 -04:00
postgres_tests Fixed #24894 -- Added contrib.postgres.functions.TransactionNow 2015-06-15 14:03:17 -04:00
prefetch_related Fixed #24873 -- Prevented nested Prefetch objects from being overwritten. 2015-06-18 15:42:47 -04:00
project_template Removed support for Python 3.3. 2015-06-18 08:36:50 -04:00
properties
proxy_model_inheritance
proxy_models Fixed #21927 -- Made application and instance namespaces more distinct. 2015-06-08 15:12:20 -04:00
queries Refs #23622 -- Added tests to ensure ordering is retained for distinct on fields subqueries. 2015-07-20 10:20:21 -04:00
queryset_pickle Refs #24919 -- Made test models serializable for migrations. 2015-07-21 09:19:40 -04:00
raw_query Fixed #12768 -- Fixed QuerySet.raw() regression on FK with custom db_column. 2015-07-23 18:07:38 -04:00
redirects_tests
requests Fixed #25099 -- Cleaned up HttpRequest representations in error reporting. 2015-07-13 19:22:39 -04:00
requirements Fixed #25056 -- Documented minimum version of jinja2 for testing. 2015-07-03 08:20:53 -04:00
reserved_names
resolve_url Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
responses Refs #24121 -- Added meaningful repr() to HttpResponse and subclasses. 2015-07-15 09:01:25 -04:00
reverse_lookup
save_delete_hooks
schema Fixed #25128 -- Fixed SQLite SchemaEditor crash when adding a ForeignObject field. 2015-07-15 15:22:52 -04:00
select_for_update
select_related Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
select_related_onetoone Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
select_related_regress
serializers Fixed #22258 -- Added progress status for dumpdata when outputting to file 2015-07-24 18:37:55 +02:00
serializers_regress Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
servers Replaced six.BytesIO with io.BytesIO 2015-07-20 08:19:47 -04:00
sessions_tests Fixed #19324 -- Avoided creating a session record when loading the session. 2015-07-08 15:23:03 -04:00
settings_tests Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
shortcuts Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
signals Added a test for model pre/post_init signals. 2014-11-21 10:39:37 -05:00
signed_cookies_tests Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
signing Fixed #22804 -- Added warning for unsafe value of 'sep' in Signer 2015-07-07 11:44:37 -04:00
sitemaps_tests Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
sites_framework
sites_tests Fixed reverse sites_tests failures introduced in refs #24834. 2015-06-18 16:25:32 -04:00
staticfiles_tests Fixed some unclosed objects in tests 2015-07-06 10:10:40 -04:00
str
string_lookup
swappable_models Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
syndication_tests
template_backends Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
template_loader
template_tests Corrected HTML-escaping behaviour of url template tag. 2015-07-21 14:04:58 +01:00
templates
test_client Fixed #20916 -- Added Client.force_login() to bypass authentication. 2015-07-01 13:01:08 -04:00
test_client_regress Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
test_discovery_sample
test_discovery_sample2
test_exceptions
test_runner Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
test_runner_deprecation_app
test_utils Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
timezones Fixed #21927 -- Made application and instance namespaces more distinct. 2015-06-08 15:12:20 -04:00
transaction_hooks Fixed #21803 -- Added support for post-commit callbacks 2015-06-30 14:51:00 -04:00
transactions Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
unmanaged_models
update
update_only_fields
urlpatterns_reverse Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
user_commands Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
utils_tests Fixed #16501 -- Added an allow_unicode parameter to SlugField. 2015-07-17 13:48:58 -04:00
validation
validators Fixed #16501 -- Added an allow_unicode parameter to SlugField. 2015-07-17 13:48:58 -04:00
version
view_tests Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
webdesign_tests
wsgi
.coveragerc Improved coverage configuration 2015-06-23 21:17:37 +02:00
README.rst
runtests.py Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are defined. 2015-07-13 17:50:22 -04:00
test_sqlite.py
urls.py

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