Ramin Farajpour Cami 0a63ef3f61 Fixed #27463 -- Fixed E741 flake8 warnings. 8 years ago
..
absolute_url_overrides 60586dd737 Fixed #26125 -- Fixed E731 flake warnings. 9 years ago
admin_autodiscover 0ed7d15563 Sorted imports with isort; refs #23860. 10 years ago
admin_changelist 967be82443 Fixed E305 flake8 warnings. 8 years ago
admin_checks 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
admin_custom_urls 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
admin_docs 2317434147 Split admin_docs tests into separate files. 8 years ago
admin_filters 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
admin_inlines 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
admin_ordering 967be82443 Fixed E305 flake8 warnings. 8 years ago
admin_registration e1d8426c2f Used assertIsInstance in admin_registration tests. 9 years ago
admin_scripts 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
admin_utils 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
admin_views 967be82443 Fixed E305 flake8 warnings. 8 years ago
admin_widgets 967be82443 Fixed E305 flake8 warnings. 8 years ago
aggregation 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
aggregation_regress 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
annotations c7bfcd2f37 Fixed #27481 -- Made SQLite return annotated boolean values as boolean, not integer. 8 years ago
app_loading 26ad01719d Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate. 9 years ago
apps 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
auth_tests 967be82443 Fixed E305 flake8 warnings. 8 years ago
backends 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
base 967be82443 Fixed E305 flake8 warnings. 8 years ago
bash_completion 92053acbb9 Fixed E128 flake8 warnings in tests/. 9 years ago
basic 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
builtin_server 7b05ffd95d Removed a bit of builtin_server tests for Python ≤ 2.7.3. 8 years ago
bulk_create b3bd3aa07c Fixed #27385 -- Fixed QuerySet.bulk_create() on PostgreSQL when the number of objects is a multiple plus one of batch_size. 8 years ago
cache 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
check_framework 967be82443 Fixed E305 flake8 warnings. 8 years ago
choices 0ed7d15563 Sorted imports with isort; refs #23860. 10 years ago
conditional_processing 22e303887b Refs #27083 -- Updated conditional header comparison to match RFC 7232. 8 years ago
contenttypes_tests 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
context_processors 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
csrf_tests 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
custom_columns 253adc2b8a Refs #26022 -- Used context manager version of assertRaisesMessage in tests. 9 years ago
custom_lookups 0c1f71635f Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSequenceEqual(). 8 years ago
custom_managers 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
custom_methods 491d01b7e9 Tweak some examples. 9 years ago
custom_migration_operations 862ea825b5 Fixed #24093 -- Prevented MigrationWriter to write operation kwargs that are not explicitly deconstructed 10 years ago
custom_pk 3d0dcd7f5a Refs #26022 -- Used context manager version of assertRaises in tests. 9 years ago
datatypes 92053acbb9 Fixed E128 flake8 warnings in tests/. 9 years ago
dates 631ef6b272 Made FieldError/FieldDoesNotExist messages uniform across Python versions. 8 years ago
datetimes 414ad25b09 Fixed #27327 -- Simplified time zone handling by requiring pytz. 8 years ago
db_functions a17fe73d2d Removed an unused function argument in db_functions test. 8 years ago
db_typecasts d3c87a2425 Fixed #26498 -- Fixed TimeField microseconds round-tripping on MySQL and SQLite. 9 years ago
dbshell 19ff506878 Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name. 8 years ago
decorators 967be82443 Fixed E305 flake8 warnings. 8 years ago
defer 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
defer_regress 535660b852 Refs #18100 -- Added tests for deferred model deletion signals. 9 years ago
delete 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
delete_regress 05cea7fdbb Changed database connection duplication technique. 9 years ago
deprecation 92053acbb9 Fixed E128 flake8 warnings in tests/. 9 years ago
dispatch 967be82443 Fixed E305 flake8 warnings. 8 years ago
distinct_on_fields 0c1f71635f Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSequenceEqual(). 8 years ago
empty f7969b0920 Fixed #23620 -- Used more specific assertions in the Django test suite. 10 years ago
expressions 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
expressions_case 1410616e0e Fixed #26433 -- Fixed Case expressions with empty When. 8 years ago
extra_regress 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
field_deconstruction 8119b679eb Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6. 8 years ago
field_defaults f7969b0920 Fixed #23620 -- Used more specific assertions in the Django test suite. 10 years ago
field_subclassing 08ab262649 Removed SubfieldBase per deprecation timeline. 9 years ago
file_storage 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
file_uploads 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
files 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
fixtures 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
fixtures_model_package d5b90c8e12 Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception. 9 years ago
fixtures_regress 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
flatpages_tests ece4d24f8e Refs #26601 -- Deprecated old-style middleware. 8 years ago
force_insert_update 0ed7d15563 Sorted imports with isort; refs #23860. 10 years ago
foreign_object 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
forms_tests 967be82443 Fixed E305 flake8 warnings. 8 years ago
from_db_value 64a4211aa8 Refs #9619 -- Fixed failing test case 9 years ago
generic_inline_admin 967be82443 Fixed E305 flake8 warnings. 8 years ago
generic_relations 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
generic_relations_regress 0a63ef3f61 Fixed #27463 -- Fixed E741 flake8 warnings. 8 years ago
generic_views 967be82443 Fixed E305 flake8 warnings. 8 years ago
get_earliest_or_latest 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
get_object_or_404 12ba20d83c Fixed #10532 -- Relaxed hard-type checking in get_object/list_or_404 shortcuts 9 years ago
get_or_create 1db1f74617 Refs #27118 -- Reallowed using pk in QuerySet.get/update_or_create(). 8 years ago
gis_tests 0a63ef3f61 Fixed #27463 -- Fixed E741 flake8 warnings. 8 years ago
handlers 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
httpwrappers 0a63ef3f61 Fixed #27463 -- Fixed E741 flake8 warnings. 8 years ago
humanize_tests 414ad25b09 Fixed #27327 -- Simplified time zone handling by requiring pytz. 8 years ago
i18n 0a63ef3f61 Fixed #27463 -- Fixed E741 flake8 warnings. 8 years ago
import_error_package c0cc8f69e7 Refactored tests that rely on an ImportError for Python 3.5 compatibility 10 years ago
indexes 967be82443 Fixed E305 flake8 warnings. 8 years ago
inline_formsets 4f336f6652 Fixed #26747 -- Used more specific assertions in the Django test suite. 8 years ago
inspectdb 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
introspection 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
invalid_models_tests 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
known_related_objects 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
logging_tests 967be82443 Fixed E305 flake8 warnings. 8 years ago
lookup 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
m2m_and_m2o c2e70f0265 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 9 years ago
m2m_intermediary c2e70f0265 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 9 years ago
m2m_multiple 491d01b7e9 Tweak some examples. 9 years ago
m2m_recursive 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
m2m_regress 9c5e272860 Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set. 9 years ago
m2m_signals 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
m2m_through 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
m2m_through_regress 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
m2o_recursive 4f336f6652 Fixed #26747 -- Used more specific assertions in the Django test suite. 8 years ago
mail 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
managers_regress d4eefc7e2a Fixed #27073 -- Removed duplicated managers in `Model._meta.managers`. 8 years ago
many_to_many 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
many_to_one 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
many_to_one_null 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
max_lengths 0ed7d15563 Sorted imports with isort; refs #23860. 10 years ago
messages_tests 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
middleware 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
middleware_exceptions 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
migrate_signals d5c4ea5246 Fixed #27100 -- Included already applied migration changes in the pre-migrate state. 8 years ago
migration_test_data_persistence 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
migrations 0a63ef3f61 Fixed #27463 -- Fixed E741 flake8 warnings. 8 years ago
migrations2 5aa55038ca Fixed #24743, #24745 -- Optimized migration plan handling 9 years ago
model_fields 967be82443 Fixed E305 flake8 warnings. 8 years ago
model_forms 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
model_formsets 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
model_formsets_regress b1e33ceced Fixed #23395 -- Limited line lengths to 119 characters. 9 years ago
model_indexes c969b17ad8 Refs #26709 -- Added type check for models.Index fields argument. 8 years ago
model_inheritance 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
model_inheritance_regress 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
model_meta 652bcc6f5f Refs #25415 -- Fixed invalid models in the test suite. 8 years ago
model_options 967be82443 Fixed E305 flake8 warnings. 8 years ago
model_package 0ed7d15563 Sorted imports with isort; refs #23860. 10 years ago
model_permalink 0083a4c8e9 Refs #18974 -- Deprecated @models.permalink() decorator. 8 years ago
model_regress 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
modeladmin 967be82443 Fixed E305 flake8 warnings. 8 years ago
multiple_database 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
mutually_referential c2e70f0265 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 9 years ago
nested_foreign_keys b1e33ceced Fixed #23395 -- Limited line lengths to 119 characters. 9 years ago
no_models 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
null_fk 4f336f6652 Fixed #26747 -- Used more specific assertions in the Django test suite. 8 years ago
null_fk_ordering 93452a70e8 Fixed many spelling mistakes in code, comments, and docs. 9 years ago
null_queries 3d0dcd7f5a Refs #26022 -- Used context manager version of assertRaises in tests. 9 years ago
one_to_one 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
or_lookups 0c1f71635f Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSequenceEqual(). 8 years ago
order_with_respect_to a08fda2111 Fixed #25746 -- Isolated inlined test models registration. 9 years ago
ordering 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
pagination 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
postgres_tests 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
prefetch_related 0a63ef3f61 Fixed #27463 -- Fixed E741 flake8 warnings. 8 years ago
project_template 9588718cd4 Fixed #5897 -- Added the Content-Length response header in CommonMiddleware 8 years ago
properties 3d0dcd7f5a Refs #26022 -- Used context manager version of assertRaises in tests. 9 years ago
proxy_model_inheritance 211486f3ab Fixed #23076, #25505 -- Fixed deletion of intermediate proxy models. 9 years ago
proxy_models 0c1f71635f Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSequenceEqual(). 8 years ago
queries 0a63ef3f61 Fixed #27463 -- Fixed E741 flake8 warnings. 8 years ago
queryset_pickle 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
raw_query 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
redirects_tests ece4d24f8e Refs #26601 -- Deprecated old-style middleware. 8 years ago
requests 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
requirements 80e742d991 Added pytz to test requirements 8 years ago
reserved_names 92053acbb9 Fixed E128 flake8 warnings in tests/. 9 years ago
resolve_url 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
responses 190d2ff4a7 Fixed #27153 -- Added validation for HttpResponse status. 8 years ago
reverse_lookup 3d0dcd7f5a Refs #26022 -- Used context manager version of assertRaises in tests. 9 years ago
save_delete_hooks 2f3a4cd573 Removed numbering from the models.py header of some test packages. 10 years ago
schema 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
select_for_update 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
select_related 4f336f6652 Fixed #26747 -- Used more specific assertions in the Django test suite. 8 years ago
select_related_onetoone 0456a8b9e6 Fixed #26486 -- Fixed a select_related() + defer() MTI edge case. 9 years ago
select_related_regress 0c1f71635f Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSequenceEqual(). 8 years ago
serializers 967be82443 Fixed E305 flake8 warnings. 8 years ago
servers 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
sessions_tests 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
settings_tests 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
shell 7f7553dd30 Fixed #25680 -- Added django-admin shell --command option. 9 years ago
shortcuts 3380169222 Removed unused view and url from shortcuts tests. 9 years ago
signals 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
signed_cookies_tests 4f336f6652 Fixed #26747 -- Used more specific assertions in the Django test suite. 8 years ago
signing 92053acbb9 Fixed E128 flake8 warnings in tests/. 9 years ago
sitemaps_tests 967be82443 Fixed E305 flake8 warnings. 8 years ago
sites_framework 983c158da7 Refs #24227 -- Replaced M2M isinstance checks by field.many_to_many 9 years ago
sites_tests 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
staticfiles_tests 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
str a08fda2111 Fixed #25746 -- Isolated inlined test models registration. 9 years ago
string_lookup 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
swappable_models 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
syndication_tests 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
template_backends 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
template_loader 277fe2e8f2 Fixed #25788 -- Enabled the cached template loader if debug is False. 8 years ago
template_tests 0a63ef3f61 Fixed #27463 -- Fixed E741 flake8 warnings. 8 years ago
templates 77974a684a Changed `action="."` to `action=""` in tests and docs. 9 years ago
test_client 967be82443 Fixed E305 flake8 warnings. 8 years ago
test_client_regress 0a63ef3f61 Fixed #27463 -- Fixed E741 flake8 warnings. 8 years ago
test_discovery_sample 032f5a7896 Refs #25735 -- Made @tag decorator importable from django.test. 9 years ago
test_discovery_sample2 e22c64dfc0 Fixed #23742 -- Added an option to reverse tests order. 10 years ago
test_exceptions cfa26f29bd Reduced reduce() usage; refs #23796. 10 years ago
test_runner 967be82443 Fixed E305 flake8 warnings. 8 years ago
test_utils 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
timezones 967be82443 Fixed E305 flake8 warnings. 8 years ago
transaction_hooks a5c8072ab1 Fixed #26627 -- Fixed on_commit callbacks execution order when callbacks make transactions. 8 years ago
transactions d895fc9ac0 Refs #16682 -- Tested transaction.atomic() with KeyboardInterrupt. 8 years ago
unmanaged_models 98839e9066 Removed British/Austrialian word: whilist. 9 years ago
update 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
update_only_fields 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
urlpatterns_reverse 967be82443 Fixed E305 flake8 warnings. 8 years ago
user_commands 321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 8 years ago
utils_tests 0a63ef3f61 Fixed #27463 -- Fixed E741 flake8 warnings. 8 years ago
validation c9ae09addf Replaced use of TestCase.fail() with assertRaises(). 8 years ago
validators 967be82443 Fixed E305 flake8 warnings. 8 years ago
version 4921d4e59f Fixed #25769 -- Updated get_version() release candidate naming for PEP 0440. 9 years ago
view_tests 967be82443 Fixed E305 flake8 warnings. 8 years ago
wsgi 967be82443 Fixed E305 flake8 warnings. 8 years ago
.coveragerc f6259ce776 Fixed #25209 -- Removed parallel=True coverage option 9 years ago
README.rst d84ffcc22b Updated "running the tests" to use 'pip install -e'. 8 years ago
runtests.py bafc9f9c33 Fixed #27423 -- Simplified sys.exit() for indicating test failures. 8 years ago
test_sqlite.py 23a5ec0782 Added trailing comma. 10 years ago
urls.py 37ea3cb03e Fixed "URLconf" spelling in code comments. 9 years ago

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