django/tests
Loic Bistuer 757945b47d Fixed failing test around DST change.
The timezone arithmetic done in JS can be off by one hour around DST
change. We work around this issue by adding one extra hour to the test
error margin when we detect a DST change is near.

Refs #20663.
2013-11-02 18:57:35 -05:00
..
admin_changelist Fixed #21268 -- Fixed E303 pep8 warnings 2013-10-18 01:46:24 +01:00
admin_custom_urls Fixed #21266 -- Fixed E201,E202 pep8 warnings. 2013-10-14 18:12:00 -04:00
admin_docs Fixed #6681 -- Don't break docutils when rendering reStructuredText. 2013-10-04 13:27:08 -04:00
admin_filters Fixed #19182 -- Fixed ModelAdmin.lookup_allowed to work with ('fieldname', SimpleListFilter) syntax. 2013-10-03 09:37:49 -04:00
admin_inlines Fixed #21299 - Changed filters from title to capfirst on admin inline formsets. 2013-10-24 14:44:07 -04:00
admin_ordering Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
admin_registration Fixed typo in exception message; refs #19414 2013-09-19 06:24:12 -04:00
admin_scripts Fix all violators of E231 2013-10-26 12:15:03 -07:00
admin_util Fixed E221 pep8 warnings. 2013-10-22 09:51:39 -04:00
admin_validation Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
admin_views Fixed #8261 -- ModelAdmin hook for customising the "show on site" button 2013-10-29 17:10:12 -04:00
admin_widgets Fixed failing test around DST change. 2013-11-02 18:57:35 -05:00
aggregation Start attacking E231 violations 2013-10-24 10:30:03 -07:00
aggregation_regress Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
app_cache Make multi-app-cache tests work again 2013-07-22 19:36:03 +01:00
app_loading Fixed #21268 -- Fixed E303 pep8 warnings 2013-10-18 01:46:24 +01:00
backends Fixed E225 pep8 warnings. 2013-10-23 06:09:29 -04:00
base Fixed "redefinition of unused 'foo' from line X" pyflakes warnings. 2013-10-10 11:09:42 -04:00
bash_completion Whitespace cleanup. 2013-10-10 16:49:20 -04:00
basic Fix all violators of E231 2013-10-26 12:15:03 -07:00
bug639 Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
bug8245 Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
builtin_server Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
bulk_create Fixed #21285 -- Fixed E121,E122 pep8 warnings 2013-10-17 20:20:11 -04:00
cache Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
check Refs #21197 -- Clarified upgrade check message. 2013-10-08 10:00:39 +08:00
choices Whitespace cleanup. 2013-10-10 16:49:20 -04:00
commands_sql Fixed #19657 -- Made sql commands honor allow_migrate 2013-10-16 18:02:32 +02:00
comment_tests Removed some direct settings manipulations in tests; refs #21230. 2013-10-21 11:31:05 -04:00
conditional_processing Whitespace cleanup. 2013-10-10 16:49:20 -04:00
contenttypes_tests Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
context_processors Whitespace cleanup. 2013-10-10 16:49:20 -04:00
createsuperuser Whitespace cleanup. 2013-10-10 16:49:20 -04:00
csrf_tests Fix all violators of E231 2013-10-26 12:15:03 -07:00
custom_columns Fix all violators of E231 2013-10-26 12:15:03 -07:00
custom_columns_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
custom_managers Fixed #21268 -- Fixed E303 pep8 warnings 2013-10-18 01:46:24 +01:00
custom_managers_regress Whitespace cleanup. 2013-10-10 16:49:20 -04:00
custom_methods Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
custom_pk Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
datatypes Removed some more unused local vars 2013-09-08 12:20:01 -07:00
dates Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
datetimes Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
db_backends Fixed #13813 -- Comparison of DatabaseWrappers doesn't raise errors. 2013-07-08 09:35:08 +10:00
db_typecasts Fixed #17627 -- Renamed util.py files to utils.py 2013-09-16 12:52:05 -04:00
decorators Fix all violators of E231 2013-10-26 12:15:03 -07:00
defaultfilters Fix all violators of E231 2013-10-26 12:15:03 -07:00
defer Fixed E225 pep8 warnings. 2013-10-23 06:09:29 -04:00
defer_regress Fixed #20922 -- Allowed customizing the serializer used by contrib.sessions 2013-08-22 13:58:26 -04:00
delete Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
delete_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
deprecation Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
dispatch Fix all violators of E231 2013-10-26 12:15:03 -07:00
distinct_on_fields Fix all violators of E231 2013-10-26 12:15:03 -07:00
empty Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
expressions Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
expressions_regress Fixed E225 pep8 warnings. 2013-10-23 06:09:29 -04:00
extra_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
field_deconstruction Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
field_defaults Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
field_subclassing Fixed #12568 -- no error when accessing custom field's descriptor 2013-09-18 10:03:52 +03:00
file_storage Fixed a F811 warning introduced by 35db9d58d6. 2013-10-29 17:22:45 -04:00
file_uploads Fix all violators of E231 2013-10-26 12:15:03 -07:00
files Rearranged some file-related tests 2013-10-27 21:28:08 +01:00
fixtures Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
fixtures_model_package Fix all violators of E231 2013-10-26 12:15:03 -07:00
fixtures_regress Fixed #21287 -- Fixed E123 pep8 warnings 2013-10-18 10:07:39 +01:00
force_insert_update Fixed #21134 -- Prevented queries in broken transactions. 2013-09-30 09:42:27 +02:00
foreign_object Fixed #20874 -- bump_prefix() in nested subqueries 2013-08-13 14:11:52 +03:00
forms_tests Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
generic_inline_admin Removed some direct settings manipulations in tests; refs #21230. 2013-10-21 11:31:05 -04:00
generic_relations Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
generic_relations_regress Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
generic_views Fix all violators of E231 2013-10-26 12:15:03 -07:00
get_earliest_or_latest Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
get_object_or_404 Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
get_or_create Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
get_or_create_regress Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
handlers Fixed #20530 -- Properly decoded non-ASCII query strings on Python 3. 2013-09-07 11:47:38 -05:00
http_utils Fixed #21268 -- Fixed E303 pep8 warnings 2013-10-18 01:46:24 +01:00
httpwrappers Fixed #21282 -- Made HttpResponse.serialize_headers accept latin-1 2013-10-17 18:14:35 +02:00
i18n Rearranged some i18n tests 2013-10-28 14:17:48 +01:00
indexes Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
initial_sql_regress Whitespace cleanup. 2013-10-10 16:49:20 -04:00
inline_formsets Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
inspectdb Fix all violators of E231 2013-10-26 12:15:03 -07:00
introspection Fixed #21097 - Added DatabaseFeature.can_introspect_autofield 2013-09-14 09:48:59 +03:00
invalid_models Fixed #8918 -- Made FileField.upload_to optional. 2013-10-11 08:07:25 -04:00
known_related_objects Whitespace cleanup. 2013-10-10 16:49:20 -04:00
logging_tests Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
lookup Fix all violators of E231 2013-10-26 12:15:03 -07:00
m2m_and_m2o Fixed E225 pep8 warnings. 2013-10-23 06:09:29 -04:00
m2m_intermediary Whitespace cleanup. 2013-10-10 16:49:20 -04:00
m2m_multiple Fixed "indentation is not a multiple of four" pep8 issues. 2013-09-03 14:22:21 -04:00
m2m_recursive Fix all violators of E231 2013-10-26 12:15:03 -07:00
m2m_regress Whitespace cleanup. 2013-10-10 16:49:20 -04:00
m2m_signals Fix all violators of E231 2013-10-26 12:15:03 -07:00
m2m_through Fix all violators of E231 2013-10-26 12:15:03 -07:00
m2m_through_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
m2o_recursive Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
mail Undelete the login() call inadvertantly removed in 4e0a2fe59c 2013-10-25 11:23:19 +02:00
managers_regress Removed some direct settings manipulations in tests; refs #21230. 2013-10-21 11:31:05 -04:00
many_to_many Fix all violators of E231 2013-10-26 12:15:03 -07:00
many_to_one Fix all violators of E231 2013-10-26 12:15:03 -07:00
many_to_one_null Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
many_to_one_regress Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
max_lengths Fix all violators of E231 2013-10-26 12:15:03 -07:00
middleware Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
middleware_exceptions Removed some direct settings manipulations in tests; refs #21230. 2013-10-21 11:31:05 -04:00
migrate_signals Updated syncdb -> migrate in tests. 2013-09-03 11:51:34 -04:00
migrations Fixed some flake8 issues 2013-10-30 10:42:35 -07:00
model_fields Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
model_forms Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
model_forms_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
model_formsets Fixed #18508 -- tests for repeated deletion bug in ModelFormSet 2013-10-31 19:39:10 +02:00
model_formsets_regress Fixed #14877 -- repeated deletion using formsets 2013-10-30 22:40:15 +02:00
model_inheritance Fixed #20946 -- model inheritance + m2m failure 2013-08-21 22:32:04 +01:00
model_inheritance_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
model_inheritance_same_model_name Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
model_inheritance_select_related Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
model_package Removed unneeded imports in tests's __init__.py and unified them. 2013-09-09 23:01:07 +02:00
model_permalink Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
model_regress Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
model_validation Fixes a Python 3.x regression introduced in a19e9d80 2013-05-18 18:06:31 +02:00
modeladmin Fix all violators of E231 2013-10-26 12:15:03 -07:00
multiple_database Fix all violators of E231 2013-10-26 12:15:03 -07:00
mutually_referential Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
nested_foreign_keys Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
null_fk Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
null_fk_ordering Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
null_queries Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
one_to_one Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
one_to_one_regress Fixed #21216 -- Allow `OneToOneField` reverse accessor to be hidden. 2013-10-03 13:20:05 -04:00
or_lookups Fixed #21268 -- Fixed E303 pep8 warnings 2013-10-18 01:46:24 +01:00
order_with_respect_to Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
ordering Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
pagination Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
prefetch_related Fix all violators of E231 2013-10-26 12:15:03 -07:00
properties Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
proxy_model_inheritance Updated syncdb -> migrate in tests. 2013-09-03 11:51:34 -04:00
proxy_models Removed some direct settings manipulations in tests; refs #21230. 2013-10-21 11:31:05 -04:00
queries Fix all violators of E231 2013-10-26 12:15:03 -07:00
queryset_pickle Fix all violators of E231 2013-10-26 12:15:03 -07:00
raw_query Fix all violators of E231 2013-10-26 12:15:03 -07:00
requests Fixed #20338 -- Stripped ending dot during host validation 2013-10-24 21:24:04 +02:00
requirements Fixed #21032 -- pip 1.4 can't install pytz. 2013-09-06 22:11:55 -05:00
reserved_names Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
resolve_url Whitespace cleanup. 2013-10-10 16:49:20 -04:00
responses Fixed #12747 -- Made reason phrases customizable. 2013-05-19 13:14:54 +02:00
reverse_lookup Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
reverse_single_related Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
save_delete_hooks Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
schema Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
select_for_update Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
select_related Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
select_related_onetoone Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
select_related_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
serializers Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
serializers_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
servers Fixed "Address already in use" from liveserver. 2013-09-22 22:02:59 +02:00
settings_tests Fixed #21263 -- Fixed issue with override_settings in inherited classes 2013-10-15 15:38:27 +02:00
signals Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
signals_regress Fixed #21285 -- Fixed E121,E122 pep8 warnings 2013-10-17 20:20:11 -04:00
signed_cookies_tests Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
signing Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
sites_framework Removed unused local variables in tests. 2013-10-19 08:31:38 -04:00
staticfiles_tests Fixed #21219 -- Added a way to set different permission for static files. 2013-10-24 17:40:01 -04:00
str Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible. 2013-10-13 18:14:04 +02:00
string_lookup Fixed #20439 -- Started deprecation of IPAddressField 2013-09-28 10:55:32 +02:00
swappable_models Fixed assorted flake8 errors. 2013-10-11 07:25:14 -04:00
syndication Fixed #21165 -- Fix test for syndication feed timestamp field on Windows. 2013-10-02 23:29:48 -03:00
tablespaces Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
template_tests Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
templates Added a test for AdminSite.app_index_template; refs #8498. 2013-07-31 06:59:15 -04:00
test_client Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
test_client_regress Fix all violators of E231 2013-10-26 12:15:03 -07:00
test_discovery_sample Removed tests for django.utils.unittest vs. unittest. 2013-07-01 21:49:11 +02:00
test_discovery_sample2 Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
test_runner Fix all violators of E231 2013-10-26 12:15:03 -07: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 Removed tests for django.utils.unittest vs. unittest. 2013-07-01 21:49:11 +02:00
test_utils Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
text Fixed #20231 -- Don't use allow_lazy on smart_split 2013-04-10 13:05:29 +02:00
timezones Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
transactions Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
transactions_regress Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
unmanaged_models Removed unneeded imports in tests's __init__.py and unified them. 2013-09-09 23:01:07 +02:00
update Fixed #11521 -- usage of field.attname in .update() 2013-07-31 16:02:36 +03:00
update_only_fields Fix all violators of E231 2013-10-26 12:15:03 -07:00
urlpatterns_reverse Fix all violators of E231 2013-10-26 12:15:03 -07:00
user_commands Made (make|compile)messages check for availability of gettext commands. 2013-03-10 17:31:11 -03:00
utils_tests Fix all violators of E231 2013-10-26 12:15:03 -07:00
validation Fix all violators of E231 2013-10-26 12:15:03 -07:00
validators Fixed #12027 -- Fixed EmailValidator to reject a trailing dot. 2013-10-23 12:22:14 -04:00
version Whitespace cleanup. 2013-10-10 16:49:20 -04:00
view_tests Added some more tests for the debug page. 2013-10-30 07:55:07 +01:00
wsgi Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
.coveragerc Made coverage ignore files without associated source code. 2013-08-25 22:29:43 -03:00
runtests.py Fixed #19941 -- Removed sys.path hack when running the test suite. 2013-10-23 18:27:06 -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