django/tests
Anssi Kääriäinen 99569b22d9 [1.9.x] Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures.
Django's test suite often tries to load fixture files from apps that have
no fixtures at all. This creates a lot of unnecessary disabling and
enabling of constraints which can be expensive on some database.

To speed this up, loaddata now first checks if any fixture file matches.
If no fixture file is matched, then the command exits before disabling
and enabling of constraints is done.

The main benefit of this change is seen on MSSQL, where tests on
Django 1.8 run hours faster.

Backport of ee9f4686b1 from master
2015-12-31 09:05:20 -05:00
..
absolute_url_overrides Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
admin_autodiscover Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
admin_changelist [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
admin_checks Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
admin_custom_urls Fixed #21927 -- Made application and instance namespaces more distinct. 2015-06-08 15:12:20 -04:00
admin_docs Removed 'Test that' prefix from admindocs tests. 2015-09-07 15:07:47 -04:00
admin_filters [1.9.x] Fixed admin_filters test failures when run in reverse. 2015-11-14 11:32:05 -05:00
admin_inlines Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
admin_ordering Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
admin_registration Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
admin_scripts [1.9.x] Fixed #25909 -- Added unicode_literals import to apps.py generated by startapp. 2015-12-12 09:50:17 -05:00
admin_utils [1.9.x] Fixed #25668 -- Misc spelling errors 2015-11-03 10:33:05 +00:00
admin_views [1.9.x] Fixed #25465 -- Restored line breaks conversion in admin readonly fields. 2015-12-29 19:37:29 -05:00
admin_widgets [1.9.x] Fixed #25729 -- Fixed flaky admin_widgets selenium test: test_ForeignKey_using_to_field 2015-12-23 14:02:07 -05:00
aggregation [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
aggregation_regress [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
annotations Fixed #24986 -- Added support for annotations in DISTINCT queries. 2015-08-15 08:23:32 -04:00
app_loading Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
apps [1.9.x] Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite. 2015-11-14 12:08:35 -05:00
auth_tests [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
backends [1.9.x] Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite. 2015-11-14 12:08:35 -05:00
base
bash_completion Removed support for syncing apps without migrations per deprecation timeline. 2015-01-18 15:58:06 -05:00
basic [1.9.x] Fixed #25715 -- Fixed Model.refresh_from_db() with ForeignKey w/on_delete=SET_NULL. 2015-11-21 11:30:18 -05:00
builtin_server Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
bulk_create [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
cache [1.9.x] Fixed #25840 -- Fixed BaseCache.get_or_set() on the DummyCache backend. 2015-12-04 12:28:34 -05:00
check_framework [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
choices Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
conditional_processing Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
contenttypes_tests Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
context_processors Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
createsuperuser Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
csrf_tests [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
custom_columns Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
custom_lookups Fixed #24629 -- Unified Transform and Expression APIs 2015-09-21 19:56:24 +10:00
custom_managers Refs #20625 -- Forwardported tests and release notes for queryset chaining fix. 2015-09-17 19:22:53 -04:00
custom_methods Tweak some examples. 2015-08-22 20:25:42 +02:00
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 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
datatypes Used assertIsInstance in tests. 2015-04-27 08:40:36 -04:00
dates Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
datetimes Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
db_functions [1.9.x] Fixed #25668 -- Misc spelling errors 2015-11-03 10:33:05 +00:00
db_typecasts Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
dbshell Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql. 2015-08-07 09:33:17 -04:00
decorators Fixed #25269 -- Allowed method_decorator() to accept a list/tuple of decorators. 2015-09-18 19:04:29 -04:00
defer Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
defer_regress [1.9.x] Fixed #25563 -- Cached deferred models in their proxied model's _meta.apps. 2015-10-19 20:13:16 -04:00
delete [1.9.x] Fixed #25882 -- Prevented fast deletes matching no rows from crashing on MySQL. 2015-12-14 13:13:47 -05:00
delete_regress Changed database connection duplication technique. 2015-09-09 23:03:51 +02:00
deprecation [1.9.x] Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and StringOrigin. 2015-09-29 19:20:11 -04:00
dispatch Used assertIsInstance in tests. 2015-04-27 08:40:36 -04:00
distinct_on_fields Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
empty Fixed #23620 -- Used more specific assertions in the Django test suite. 2014-11-03 11:56:37 -05:00
expressions [1.9.x] Fixed #25506 -- Allowed filtering over a RawSQL annotation. 2015-10-14 11:24:12 -07:00
expressions_case [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
extra_regress Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
field_deconstruction Refs #24590 -- Ensured isolation between autodetector tests 2015-08-28 10:17:34 +10:00
field_defaults Fixed #23620 -- Used more specific assertions in the Django test suite. 2014-11-03 11:56:37 -05:00
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 Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
files Fixed #24963 -- Added File.seekable() on Python 3. 2015-06-12 10:17:21 -04:00
fixtures [1.9.x] Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures. 2015-12-31 09:05:20 -05:00
fixtures_model_package Removed support for custom SQL per deprecation timeline. 2015-01-17 10:16:06 -05:00
fixtures_regress Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
flatpages_tests Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00
force_insert_update Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
foreign_object [1.9.x] Fixed #25972 -- Restored support for the isnull lookup with ForeignObject. 2015-12-24 07:35:08 -05:00
forms_tests [1.9.x] Fixed #25942 -- Fixed TypedChoiceField.has_changed with nullable field 2015-12-17 15:39:34 +01:00
from_db_value Refs #9619 -- Fixed failing test case 2015-06-17 20:07:00 +02:00
generic_inline_admin Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
generic_relations Renamed descriptor classes for related objects. 2015-09-21 22:20:42 +02:00
generic_relations_regress Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
generic_views [1.9.x] Fixed #26018 -- Prevented unecessary get_form() call in FormMixin.get_context_data(). 2015-12-30 17:30:37 -05:00
get_earliest_or_latest Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
get_object_or_404 Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
get_or_create Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
gis_tests [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05: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 [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
humanize_tests Moved contrib.humanize tests out of contrib. 2015-02-11 10:19:22 -05:00
i18n [1.9.x] Fixed #25915 -- Allowed language not in Django's default LANGUAGES 2015-12-18 17:51:52 +01:00
import_error_package Refactored tests that rely on an ImportError for Python 3.5 compatibility 2015-02-03 18:30:46 -05:00
indexes Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
inline_formsets Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
inspectdb [1.9.x] Fixed #25274 --- Made inspectdb handle renamed fields in unique_together. 2015-11-25 13:15:35 -05:00
introspection Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
invalid_models_tests [1.9.x] Fixed #25981 -- Added need to update migrations to on_delete deprecation warning. 2015-12-24 08:08:51 -05:00
known_related_objects Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
logging_tests Refs #24526 -- Made the django logger handle INFO messages. 2015-09-23 11:33:49 -04:00
lookup [1.9.x] Fixed #25609 -- Fixed regression in related field nested lookup error. 2015-10-27 13:57:52 -04:00
m2m_and_m2o Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
m2m_intermediary Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
m2m_multiple Tweak some examples. 2015-08-22 20:25:42 +02:00
m2m_recursive Removed numbering from the models.py header of some test packages. 2014-09-24 17:28:56 +07:00
m2m_regress Fixed #24505 -- Fixed clash with hidden m2m fields. 2015-03-26 19:00:37 -04:00
m2m_signals Refs #18586 -- Split up tests/m2m_signals 2015-03-22 13:21:08 +01:00
m2m_through [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
m2m_through_regress Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
m2o_recursive Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
mail Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
managers_regress Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
many_to_many Renamed descriptor classes for related objects. 2015-09-21 22:20:42 +02:00
many_to_one Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
many_to_one_null Renamed descriptor classes for related objects. 2015-09-21 22:20:42 +02:00
max_lengths Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
messages_tests Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
middleware [1.9.x] Fixed #25900 -- Fixed regression in CommonMiddleware ETag support. 2015-12-10 14:00:49 -05:00
middleware_exceptions Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
migrate_signals Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
migration_test_data_persistence Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
migrations [1.9.x] Fixed #25922 -- Fixed migrate --fake-initial detection of many-to-many tables. 2015-12-19 13:50:06 -05:00
migrations2 Fixed #24743, #24745 -- Optimized migration plan handling 2015-09-19 14:54:53 +10:00
model_fields [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
model_forms [1.9.x] Fixed #25496 -- Made ModelChoiceField respect prefetch_related(). 2015-10-05 19:19:09 -04:00
model_formsets Fixed #25431 -- Readded inline foreign keys to modelformset instances 2015-09-21 21:30:49 +02:00
model_formsets_regress Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
model_inheritance Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
model_inheritance_regress Refs #21554 -- Added some assertions to a model_inheritance_regress test. 2015-08-15 19:32:21 -04:00
model_meta Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
model_options [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
model_package Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
model_permalink Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
model_regress [1.9.x] Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite. 2015-11-14 12:08:35 -05:00
model_validation Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
modeladmin [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
multiple_database Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
mutually_referential Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
nested_foreign_keys Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
no_models Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
null_fk Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
null_fk_ordering [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
null_queries Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
one_to_one [1.9.x] Fixed #14368 -- Allowed setting a reverse OneToOne relation to None. 2015-10-09 10:59:57 -04:00
or_lookups Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
order_with_respect_to [1.9.x] Refs #25786 -- Added tests/release notes for set_FOO_order() crash with order_with_respect_to referencing OneToOneField pk. 2015-11-23 12:08:29 -05:00
ordering Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
pagination Fixed #23190 -- Made Paginator.page_range an iterator 2015-07-03 11:34:34 -04:00
postgres_tests [1.9.x] Fixed #25867 -- Fixed a system check crash with nested ArrayFields. 2015-12-07 15:04:13 -05:00
prefetch_related [1.9.x] Refs #25693 -- Added a regression test for `to_attr` validation on forward m2m. 2015-11-11 12:27:15 -05:00
project_template Removed support for Python 3.3. 2015-06-18 08:36:50 -04:00
properties Removed numbering from the models.py header of some test packages. 2014-09-24 17:28:56 +07:00
proxy_model_inheritance Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
proxy_models [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
queries [1.9.x] Fixed #25894 -- Fixed evaluation of zero-length slices of QuerySet.values(). 2015-12-15 07:30:30 -05:00
queryset_pickle [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
raw_query Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
redirects_tests Moved contrib.redirects tests out of contrib. 2015-02-11 10:19:22 -05:00
requests [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
requirements [1.9.x] Bumped mysqlclient test requirement to >= 1.3.7. 2015-11-12 21:34:40 -05:00
reserved_names Removed numbering from the models.py header of some test packages. 2014-09-24 17:28:56 +07:00
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 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
save_delete_hooks Removed numbering from the models.py header of some test packages. 2014-09-24 17:28:56 +07:00
schema [1.9.x] Fixed #25412 -- Fixed missing PostgreSQL index on Char/TextField when using AlterField. 2015-12-10 16:19:36 -05:00
select_for_update Changed database connection duplication technique. 2015-09-09 23:03:51 +02:00
select_related Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
select_related_onetoone Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
select_related_regress Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
serializers [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
servers Fixed #25204 -- Added missing space in runserver logging. 2015-08-01 08:01:24 -04:00
sessions_tests [1.9.x] Fixed quad quoted ("""") docstring starts. 2015-10-20 12:20:11 -04:00
settings_tests Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00
shortcuts Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
signals [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -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 Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
sites_tests Fixed reverse sites_tests failures introduced in refs #24834. 2015-06-18 16:25:32 -04:00
staticfiles_tests [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
str [1.9.x] Fixed #25730 -- Made Model.__str__() always return str instances. 2015-11-11 12:19:34 -05:00
string_lookup Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
swappable_models Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
syndication_tests Refs #13110 -- Fixed mistakes in the new multiple enclosure feed tests 2015-09-19 15:54:33 +02:00
template_backends Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
template_loader Fixed #24119, #24120 -- Formalized debug integration for template backends. 2015-05-06 17:33:47 -05:00
template_tests [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
templates Cleaned up template loader tests. 2015-02-24 14:00:02 +01:00
test_client [1.9.x] Refs #25969 -- Replaced usage of render_to_response() with render() in tests. 2015-12-23 10:23:41 -05:00
test_client_regress [1.9.x] Removed an unused import. 2015-12-28 17:46:33 -05:00
test_discovery_sample Made a doctest compatible with Python 2 2014-10-23 11:16:17 +02:00
test_discovery_sample2 Fixed #23742 -- Added an option to reverse tests order. 2014-11-24 19:24:11 -05:00
test_exceptions Reduced reduce() usage; refs #23796. 2014-11-20 14:31:14 -05:00
test_runner [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
test_runner_deprecation_app
test_utils Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
timezones [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
transaction_hooks Fixed #21803 -- Added support for post-commit callbacks 2015-06-30 14:51:00 -04:00
transactions Fixed #24921 -- set_autocommit(False) + ORM queries. 2015-09-21 22:21:53 +02:00
unmanaged_models [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
update Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
update_only_fields Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
urlpatterns_reverse [1.9.x] Fixed typo in test name. 2015-12-29 12:48:53 -05:00
user_commands [1.9.x] Fixed SyntaxWarning in a user_commands test. 2015-11-12 17:17:28 -05:00
utils_tests [1.9.x] Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:49:03 -05:00
validation Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
validators [1.9.x] Fixed #25620 -- Made URLValidator prohibit URLs with consecutive dots in the domain section. 2015-10-29 11:14:20 -04:00
version
view_tests [1.9.x] Refs #25969 -- Replaced usage of render_to_response() with render() in tests. 2015-12-23 10:23:41 -05:00
webdesign_tests Moved contrib.webdesign tests out of contrib. 2015-02-11 12:30:07 -05:00
wsgi Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00
.coveragerc Fixed #25209 -- Removed parallel=True coverage option 2015-08-04 09:32:12 -04:00
README.rst Fixed #23289 -- Added mock as a test dependency. 2014-12-01 16:08:25 -05:00
runtests.py [1.9.x] Fixed #25984 -- Corrected RuntimeError message in ModelBase.__new__(). 2015-12-24 16:45:38 -05:00
test_sqlite.py Added trailing comma. 2015-02-06 12:58:45 +01:00
urls.py [1.9.x] Fixed "URLconf" spelling in code comments. 2015-10-22 14:47:15 -04:00

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