django/tests
Aymeric Augustin e76dd4cd1a [1.6.x] Fixed #21074 -- Added tests for localized datetime fields.
Fields must render values in the current time zone.

This commit only contains tests because this ticket was just a symptom of
a regression from #18777 that was fixed separately.

Backport of 5444a9c from master.
2013-09-21 23:11:04 +02:00
..
admin_changelist Fixed #19080 -- Fine-grained control over select_related in admin 2013-06-05 23:08:00 +02:00
admin_custom_urls Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
admin_docs Fixed #20126 -- XViewMiddleware moved to django.contrib.admindocs.middleware 2013-05-19 13:18:35 +02:00
admin_filters Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
admin_inlines [1.6.x] Fixed #13696 -- ensured inline pk field is rendered 2013-07-21 13:13:20 -04:00
admin_ordering Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
admin_registration Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
admin_scripts Defined available_apps in relevant tests. 2013-06-10 11:30:01 +02:00
admin_util [1.6.x] Fixed #20805 -- Removed an extra colon beside checkboxes in the admin. 2013-07-26 14:47:58 -04:00
admin_validation Fixed #12674 -- provide a way to override admin validation 2013-05-19 12:42:52 +02:00
admin_views [1.6.x] Took advantage of django.utils.six.moves.urllib.*. 2013-09-10 21:29:31 +02:00
admin_widgets [1.6.x] Removed unneeded conditional_escapes from the testsuite. 2013-08-13 22:24:14 +02:00
aggregation Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
aggregation_regress [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
app_loading Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
backends [1.6.x] Fixed #21035 -- Changed docs to treat the acronym SQL phonetically. 2013-09-05 20:16:14 -04:00
base [1.6.x] Replaced "not PY3" by "PY2", new in six 1.4.0. 2013-09-03 07:34:45 -05:00
bash_completion Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
basic [1.6.x] Replaced "not PY3" by "PY2", new in six 1.4.0. 2013-09-03 07:34:45 -05:00
bug639 Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and added '__all__' shortcut 2013-05-09 16:44:36 +01:00
bug8245 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
builtin_server Fixed #18972 -- Refactored bundled wsgi server's chunking algorithm. 2013-03-20 18:46:26 -04:00
bulk_create Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
cache Added cache to available_apps in cache tests 2013-06-14 17:05:54 +03:00
check [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
choices Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
commands_sql Fixed #15697 -- Made sqlindexes aware of auto-created tables 2013-05-29 15:50:26 +02:00
comment_tests [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
conditional_processing Move last remaining tests out of models.py files; prep for test discovery. 2013-04-02 19:00:55 -06:00
contenttypes_tests Deprecated django.views.defaults.shortcut. 2013-03-14 20:30:23 +01:00
context_processors Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
createsuperuser Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
csrf_tests Fixed #19436 -- Don't log warnings in ensure_csrf_cookie. 2013-05-18 16:17:46 +02:00
custom_columns Refs #18586 -- Split out long custom_columns lookup test into multiple tests. 2013-03-19 15:58:54 -07:00
custom_columns_regress Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
custom_managers [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
custom_managers_regress Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
custom_methods Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
custom_pk Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
datatypes Use assertIsInstance in tests. 2013-05-21 10:42:15 +01:00
dates Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
datetimes Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
db_typecasts Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
decorators Use assertIsInstance in tests. 2013-05-21 10:42:15 +01:00
defaultfilters [1.6.x] Replaced "not PY3" by "PY2", new in six 1.4.0. 2013-09-03 07:34:45 -05:00
defer Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
defer_regress [1.6.x] Fixed #20922 -- Allowed customizing the serializer used by contrib.sessions 2013-08-22 17:55:01 -04:00
delete Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
delete_regress Defined available_apps in relevant tests. 2013-06-10 11:30:01 +02:00
deprecation Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
dispatch [1.6.x] Fixed a test failure introduced in f0bc2865ff. 2013-08-20 04:08:41 -04:00
distinct_on_fields Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
empty Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
expressions Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
expressions_regress Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
extra_regress Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
field_defaults Use assertIsInstance in tests. 2013-05-21 10:42:15 +01:00
field_subclassing Use assertIsInstance in tests. 2013-05-21 10:42:15 +01:00
file_storage [1.6.x] Took advantage of django.utils.six.moves.urllib.*. 2013-09-10 21:29:31 +02:00
file_uploads Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
files Merge pull request #1566 from adamsc64/ticket_11857 2013-09-06 19:44:25 -05:00
fixtures [1.6.x] Stopped calling loaddata with commit=False. 2013-06-30 14:20:29 +02:00
fixtures_model_package Avoided transaction.set_autocommit in tests. 2013-07-09 21:42:11 +02:00
fixtures_regress [1.6.x] Fixed #20933 -- Allowed loaddata to load fixtures from relative paths. 2013-08-20 21:28:14 +02:00
force_insert_update Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
foreign_object [1.6.x] Fixed ordering related test failure 2013-08-06 10:34:42 +03:00
forms_tests [1.6.x] Fixed #20850 -- Added MultiWidget.needs_multipart_form 2013-08-05 10:13:48 -04:00
generic_inline_admin [1.6.x] Fixed #18681 -- GenericInlineModelAdmin.get_formset() no longer bypasses get_fieldsets(). 2013-08-02 10:45:58 -04:00
generic_relations [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
generic_relations_regress Fixed #20564 -- Generic relations exclude() regression 2013-06-06 01:54:46 +03:00
generic_views [1.6.x] Merge pull request #1580 from ianawilson/ticket_16502 2013-09-06 17:39:16 -05:00
get_earliest_or_latest Fixed #19326 -- Added first() and last() methods to QuerySet 2013-05-21 18:52:28 +03:00
get_object_or_404 Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
get_or_create Defined available_apps in relevant tests. 2013-06-10 11:30:01 +02:00
get_or_create_regress Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
handlers [1.6.x] Fixed #20530 -- Properly decoded non-ASCII query strings on Python 3. 2013-09-07 12:06:38 -05:00
http_utils Fixed a Python 2.6 regression (GzipFile can't act as a context manager) 2013-05-21 13:18:53 +02:00
httpwrappers [1.6.x] Replaced "not PY3" by "PY2", new in six 1.4.0. 2013-09-03 07:34:45 -05:00
i18n [1.6.x] Replaced "not PY3" by "PY2", new in six 1.4.0. 2013-09-03 07:34:45 -05:00
indexes Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
initial_sql_regress Added regression test for custom SQL containing percents 2013-03-26 23:19:32 +01:00
inline_formsets Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and added '__all__' shortcut 2013-05-09 16:44:36 +01:00
inspectdb [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
introspection Add introspection support for BinaryField 2013-03-02 10:29:03 +01:00
invalid_models Fixed #20484 -- Added model validation for GenericIPAddressField 2013-05-28 15:12:47 -04:00
known_related_objects Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
logging_tests Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation. 2013-05-25 16:27:34 -07:00
lookup Fixed #20462 - Replaced the str() cast introduced in 273dc55 by force_text() 2013-06-26 21:30:58 +07:00
m2m_and_m2o Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
m2m_intermediary Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
m2m_multiple Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
m2m_recursive Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
m2m_regress Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
m2m_signals Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
m2m_through Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
m2m_through_regress Defined available_apps in relevant tests. 2013-06-10 11:30:01 +02:00
m2o_recursive Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
mail Use assertIsInstance in tests. 2013-05-21 10:42:15 +01:00
managers_regress Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
many_to_many Fixed #20207 -- Handle ManyToManyField with a unicode name correctly. 2013-04-05 15:09:53 -04:00
many_to_one Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
many_to_one_null Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
many_to_one_regress Removed a test that didn't make sense; code could never be called the way the test was written. 2013-05-09 06:55:25 -07:00
max_lengths Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
middleware Defined available_apps in relevant tests. 2013-06-10 11:30:01 +02:00
middleware_exceptions Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
model_fields [1.6.x] Fixed #20999 - Allow overriding formfield class with choices, without subclass restrictions. 2013-08-30 17:45:14 -06:00
model_forms [1.6.x] Fixed #21041 -- Removed a duplicate form in tests. 2013-09-05 06:32:26 -04:00
model_forms_regress Fixed #20548 -- Removed all PendingDeprecationWarnings from django test suite 2013-06-14 15:37:39 +01:00
model_formsets [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
model_formsets_regress Use assertIsInstance in tests. 2013-05-21 10:42:15 +01:00
model_inheritance [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
model_inheritance_regress [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
model_inheritance_same_model_name Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
model_inheritance_select_related [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
model_package Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
model_permalink Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
model_regress Marked a test as an expected failure on MySQL and Python 3.2. 2013-05-08 23:12:46 +02:00
model_validation Fixes a Python 3.x regression introduced in a19e9d80 2013-05-18 18:06:31 +02:00
modeladmin [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
multiple_database Fixed #20603 -- Made the test suite faster. 2013-06-14 23:16:15 +02:00
mutually_referential Removed accidentally added pyc file. 2013-09-18 20:27:07 -04:00
nested_foreign_keys Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
null_fk Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
null_fk_ordering Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
null_queries Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
one_to_one [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
one_to_one_regress [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
or_lookups Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
order_with_respect_to Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
ordering Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
pagination Fixed #19938 -- Consumed iterator only once in paginator's Page 2013-05-25 16:27:26 +02:00
prefetch_related Fixed #20242 - Added a regression test for prefetch_related. 2013-05-28 13:37:44 -04:00
properties Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
proxy_model_inheritance Defined available_apps in relevant tests. 2013-06-10 11:30:01 +02:00
proxy_models [1.6.x] Revert "Fixed #18491 -- deleting a proxy doesn't show warning about cascade deletes" 2013-08-16 07:59:16 -04:00
queries [1.6.x] Fixed #11811 -- Data-loss bug in queryset.update. 2013-09-06 21:59:28 -05:00
queryset_pickle [1.6.x] Added tests for double-pickling a QuerySet 2013-09-14 10:36:48 +03:00
raw_query [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
requests [1.6.x] Took advantage of django.utils.six.moves.urllib.*. 2013-09-10 21:29:31 +02:00
requirements [1.6.x] Fixed #19196 -- Added test/requirements 2013-07-10 09:37:15 -04:00
reserved_names Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
resolve_url Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
responses Fixed #12747 -- Made reason phrases customizable. 2013-05-19 13:14:54 +02:00
reverse_lookup Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
reverse_single_related [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
save_delete_hooks Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
select_for_update [1.6.x] Fixed #19918 -- Modified select_for_update to run on the write database. 2013-08-06 10:58:32 -04:00
select_related Fixed #16856 - Added a way to clear select_related. 2013-05-30 11:06:05 -04:00
select_related_onetoone Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
select_related_regress Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
serializers [1.6.x] Fixed deprecation warning on Python 3 2013-09-07 13:15:13 -05:00
serializers_regress [1.6.x] Merge pull request #1582 from rca/12756-missing-yaml-module-serializer-error-message 2013-09-06 19:01:24 -05:00
servers [1.6.x] Took advantage of django.utils.six.moves.urllib.*. 2013-09-10 21:29:31 +02:00
settings_tests Fixed #20290 -- Allow override_settings to be nested 2013-06-21 16:57:47 +02:00
signals Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
signals_regress Reverted the introduction of shared_models. 2013-06-10 12:34:47 +02:00
signed_cookies_tests Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
signing [1.6.x] Replaced "not PY3" by "PY2", new in six 1.4.0. 2013-09-03 07:34:45 -05:00
sites_framework Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
staticfiles_tests Fixed #18986 -- Improved error message for missing files 2013-04-28 16:45:05 +02:00
str Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
string_lookup Fixed #11442 -- Postgresql backend casts all inet types to text 2013-05-19 13:28:09 +02:00
swappable_models Fixed #20603 -- Made the test suite faster. 2013-06-14 23:16:15 +02:00
syncdb_signals Fixed #20603 -- Made the test suite faster. 2013-06-14 23:16:15 +02:00
syndication Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
tablespaces Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
template_tests [1.6.x] Prevented arbitrary file inclusion with {% ssi %} tag and relative paths. 2013-09-10 21:03:51 -04:00
templates Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
test_client [1.6.x] Took advantage of django.utils.six.moves.urllib.*. 2013-09-10 21:29:31 +02:00
test_client_regress Fixed #18924 -- Made test.Client.logout send user_logged_out signal. 2013-06-04 12:39:09 -04:00
test_discovery_sample Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
test_discovery_sample2 Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
test_runner [1.6.x] Fixed #21035 -- Changed docs to treat the acronym SQL phonetically. 2013-09-05 20:16:14 -04:00
test_runner_deprecation_app Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
test_runner_invalid_app Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
test_suite_override Fixed #20548 -- Removed all PendingDeprecationWarnings from django test suite 2013-06-14 15:37:39 +01:00
test_utils [1.6.x] Replaced "not PY3" by "PY2", new in six 1.4.0. 2013-09-03 07:34:45 -05:00
text Fixed #20231 -- Don't use allow_lazy on smart_split 2013-04-10 13:05:29 +02:00
timezones [1.6.x] Fixed #21074 -- Added tests for localized datetime fields. 2013-09-21 23:11:04 +02:00
transactions Fixed #20571 -- Added an API to control connection.needs_rollback. 2013-06-27 22:19:54 +02:00
transactions_regress Fixed #20724 -- Test failure on SQLite. 2013-07-09 21:43:20 +02:00
unmanaged_models Use assertIsInstance in tests. 2013-05-21 10:42:15 +01:00
update Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
update_only_fields Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
urlpatterns_reverse Fixed #17076 -- When reversing a URL fails, inform the user which patterns were tried. 2013-06-14 10:26:30 +01:00
user_commands Made (make|compile)messages check for availability of gettext commands. 2013-03-10 17:31:11 -03:00
utils_tests [1.6.x] Fixed bad backport in last commit; refs #21118 2013-09-18 09:52:29 -04:00
validation Fixed #20594 -- Add validation to models.SlugField. 2013-06-13 13:31:57 -04:00
validators [1.6.x] Fixed an email validation regression 2013-07-21 21:12:50 +02:00
version Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
view_tests [1.6.x] Fixed #21098 -- Applied sensitive_post_parameters to MultiValueDict 2013-09-18 09:56:01 -04:00
wsgi Implemented persistent database connections. 2013-02-28 15:28:13 +01:00
.coveragerc Adjusted coveragerc 2013-02-26 14:36:57 +01:00
runtests.py [1.6.x] Fixed #19196 -- Added test/requirements 2013-07-10 09:37:15 -04:00
test_sqlite.py Updated an inaccurate comment. 2013-02-26 10:00:14 +01:00
urls.py Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00