django/tests
Matthew Tretter a506b6981b Fixed #18231 -- Made JavaScript i18n not pollute global JS namespace.
Also, use Django templating for the dynamic generated JS code and use
more idiomatic coding techniques.

Thanks Matthew Tretter for the report and the patch.
2013-04-14 17:45:01 -03:00
..
admin_changelist Fixed a python 3.2 syntax error and python 3 warning introduced by 054ce2aa02. 2013-03-19 22:16:48 -04:00
admin_custom_urls Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01: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 Fixed #19838 -- Admin: Don't leak a 500 HTTP status when trying to delete protected FKs. 2013-03-04 13:30:59 -03: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 Fixed #17037 -- Added a --all option to diffsettings. 2013-03-18 00:03:58 +01:00
admin_util Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
admin_validation Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
admin_views Made usage of assertTemplateUsed in admin_views tests 2013-04-10 10:16:15 +02:00
admin_widgets Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
aggregation Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
aggregation_regress Fixed failing aggregation tests on MySQL 2013-03-13 12:44:24 +02:00
app_loading Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
backends Fixed #19220 -- Prevented decimals to be displayed in scientific notation 2013-03-31 22:39:01 +02:00
base Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
bash_completion Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
basic Revert "Fixed 19895 -- Made second iteration over invalid queryset raise an exception too" 2013-03-20 10:41:53 +01:00
bug639 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +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 [py3] Always fed hashlib with bytes. 2013-02-27 10:02:07 +01:00
choices Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
commands_sql Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
comment_tests Modified comment_tests for unittest2 discovery. 2013-04-12 15:07:24 -06: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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01: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 Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05: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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
defaultfilters Fixed #20172 -- Ensured urlize supports IPv4/IPv6 addresses 2013-04-01 15:37:37 +02:00
defer Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
defer_regress Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
delete Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
delete_regress Made transaction.managed a no-op and deprecated it. 2013-03-11 14:48:53 +01: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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01: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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
field_subclassing Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
file_storage Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
file_uploads Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
files Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
fixtures Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
fixtures_model_package Improved the API of set_autocommit. 2013-03-11 15:10:58 +01:00
fixtures_regress Fixed #19998 -- Fixed --ignorenonexistent support for XML based fixtures. 2013-03-30 11:59:50 +01:00
force_insert_update Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
foreign_object Fixed 19385 -- Added ORM support for multicolumn joins 2013-03-24 18:08:01 +02:00
forms_tests Fixed #17840 -- Generalized named placeholders in form error messages 2013-04-13 18:55:50 +02:00
generic_inline_admin Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
generic_relations Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
generic_relations_regress Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
generic_views Modified generic_views for unittest2 discovery. 2013-04-12 15:10:04 -06:00
get_earliest_or_latest Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01: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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
get_or_create_regress Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
handlers Deprecated TransactionMiddleware and TRANSACTIONS_MANAGED. 2013-03-11 15:04:05 +01:00
http_utils Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
httpwrappers Implemented persistent database connections. 2013-02-28 15:28:13 +01:00
i18n Fix #20058: Make compilemessages use stdout instead of stderr. 2013-03-16 19:48:40 +01: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 Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
inspectdb Fixed #16737 -- Support non-ascii column names in inspectdb 2013-04-01 19:59:57 +02:00
introspection Add introspection support for BinaryField 2013-03-02 10:29:03 +01:00
invalid_models Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
known_related_objects Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
logging_tests Correctly restore warning capture after logging tests. 2013-03-27 17:01:11 -05:00
lookup Began implementing a shared set of test models to speed up tests. 2013-03-13 23:25:26 +01: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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
m2o_recursive Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
mail Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
max_lengths Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
middleware Fixed tests that relied on MANAGERS not being empty. 2013-03-11 23:30:02 +01:00
middleware_exceptions Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
model_fields Modified model_fields for unittest2 discovery. 2013-04-12 15:11:12 -06:00
model_forms Fix #15126: Better error message when passing invalid options to ModelForm.Meta. 2013-04-07 19:08:53 +02:00
model_forms_regress Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
model_formsets Fixed #20084 -- Provided option to validate formset max_num on server. 2013-03-21 01:27:24 -07:00
model_formsets_regress Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
model_inheritance Fixed #16649 -- Refactored save_base logic 2013-03-14 11:01:47 +02:00
model_inheritance_regress Fixed #15124 -- Changed the default for BooleanField. 2013-03-24 13:47:01 +01: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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01: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 Fixed #14019 -- Initialize `SQLInsertCompiler.return_id` attribute. 2013-04-08 13:41:36 -06:00
modeladmin Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
multiple_database Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
mutually_referential Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01: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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
one_to_one_regress Fixed test failures introduced in e16c48e001. 2013-03-24 15:27:50 +01: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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
prefetch_related Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
properties Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
proxy_model_inheritance Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
proxy_models Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
queries Fixed #20091 -- Oracle null promotion for empty strings 2013-03-26 14:19:54 +02:00
queryset_pickle Fix #20158: invalid code in queryset_pickle test models. 2013-03-29 13:32:21 +01:00
raw_query Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
requests Fixed #20038 -- Better error message for host validation. 2013-04-03 14:27:20 -06: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
reverse_lookup Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
reverse_single_related Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
save_delete_hooks Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
select_for_update Made transaction.managed a no-op and deprecated it. 2013-03-11 14:48:53 +01:00
select_related Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01: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 Made transaction.managed a no-op and deprecated it. 2013-03-11 14:48:53 +01:00
serializers_regress Added support for serializing BinaryField 2013-03-02 10:29:02 +01:00
servers Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
settings_tests Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
shared_models Began implementing a shared set of test models to speed up tests. 2013-03-13 23:25:26 +01:00
signals Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
signals_regress Began implementing a shared set of test models to speed up tests. 2013-03-13 23:25:26 +01:00
signed_cookies_tests Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
signing Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
sites_framework Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
special_headers Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
staticfiles_tests Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
str Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
string_lookup Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
swappable_models Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01: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 Fixed template_tests so discovery doesn't directly find tests that require setuptools. 2013-04-12 15:42:58 -06:00
templates Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
test_client Move last remaining tests out of models.py files; prep for test discovery. 2013-04-02 19:00:55 -06:00
test_client_regress Fixed #20237 (again) Allowed binary parameter to assertContains 2013-04-12 20:12:42 +02:00
test_runner Fixed #18985 -- ensure module level deprecations are displayed 2013-03-24 22:06:02 -07:00
test_suite_override Modified test_client_override to work with unittest2 discovery. 2013-04-12 15:05:34 -06:00
test_utils Used a Python 3 compatible StringIO in test_utils 2013-04-13 11:38:13 +02:00
text Fixed #20231 -- Don't use allow_lazy on smart_split 2013-04-10 13:05:29 +02:00
timezones Renamed some tests and removed references to modeltests/regressiontests. 2013-02-26 14:36:57 +01:00
transactions Made atomic usable when autocommit is off. 2013-03-13 15:17:40 +01:00
transactions_regress Removed debug code 2013-03-17 11:31:15 +02:00
unmanaged_models Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +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 #19541 -- Fixed BaseHandler to enable reversing URLs in response middlewares 2013-03-25 03:19:19 +07:00
user_commands Made (make|compile)messages check for availability of gettext commands. 2013-03-10 17:31:11 -03:00
utils_tests Modified utils_tests for unittest2 discovery. 2013-04-12 15:31:58 -06:00
validation Modified validation to work with unittest2 discovery. 2013-04-12 15:33:22 -06:00
validators Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
version Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
view_tests Fixed #18231 -- Made JavaScript i18n not pollute global JS namespace. 2013-04-14 17:45:01 -03: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 Fixed #18985 -- ensure module level deprecations are displayed 2013-03-24 22:06:02 -07: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