django1/tests/modeltests
Aymeric Augustin e98cb05edf [py3] Fixed the str tests.
These tests don't look very meaningful. They were ported from
doctests...
2012-08-16 09:44:42 +02:00
..
aggregation [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
basic [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
choices [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_columns [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_managers [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_methods [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_pk Use a name that exists in both python2 and 3, 2012-08-15 01:13:09 -07:00
defer [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
delete [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
distinct_on_fields [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
empty Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
expressions [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
field_defaults [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
field_subclassing [py3] Fixed uses of __metaclass__ in tests. 2012-08-15 00:31:29 +02:00
files [py3] Various minor syntax fixes in the test suite 2012-08-11 23:23:31 +02:00
fixtures [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
fixtures_model_package [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
force_insert_update Fixed various dodgy behaviours 2011-12-17 17:37:24 +00:00
generic_relations [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
get_latest [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
get_object_or_404 [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
get_or_create [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
invalid_models [py3] Used six.StringIO to simulate stdout buffer in tests 2012-08-11 18:56:14 +02:00
known_related_objects Fixed #18177 -- Cached known related instances. 2012-05-24 13:25:01 +02:00
lookup [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_and_m2o [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_intermediary [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_multiple [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_recursive [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_signals [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_through [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2o_recursive [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
many_to_many [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
many_to_one [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
many_to_one_null [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_forms [py3] Fixed modeltests.model_forms tests. 2012-08-14 23:46:23 +02:00
model_formsets [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_inheritance [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_inheritance_same_model_name [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_package Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
mutually_referential Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
one_to_one [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
or_lookups [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
order_with_respect_to [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
ordering [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
pagination [py3] Fixed paginator tests. 2012-08-15 14:58:43 +02:00
prefetch_related Fixed usage of several deprecated aliases in unittest. 2012-08-15 01:38:04 -07:00
properties Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
proxy_model_inheritance [py3] Removed map() calls used for side-effects only 2012-08-15 13:23:41 +03:00
proxy_models [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
raw_query Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
reserved_names [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
reverse_lookup [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
save_delete_hooks [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
select_for_update [py3] Fixed remaining Python 3 syntax errors. 2012-07-22 09:29:53 +02:00
select_related [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
serializers [py3] Fixed uses of __metaclass__ in tests. 2012-08-15 00:31:29 +02:00
signals [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
str [py3] Fixed the str tests. 2012-08-16 09:44:42 +02:00
tablespaces Added missing relative imports in test files. 2012-05-12 19:58:32 +02:00
test_client [py3] Compared response.content with bytes. 2012-08-14 12:29:53 +02:00
timezones Decorated some tests that require tz support. 2012-08-11 17:32:24 -04:00
transactions [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
unmanaged_models [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
update [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
update_only_fields Fixed #18306 -- Made deferred models issue update_fields on save 2012-08-12 22:39:27 +03:00
user_commands [py3] Used compatible imports of StringIO. 2012-08-08 14:50:01 +02:00
validation Made the validation tests python3 friendly. 2012-08-15 03:02:32 -07:00
validators Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
__init__.py MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. 2006-05-02 01:31:56 +00:00