diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-01-08 16:58:23 +0100 |
|---|---|---|
| committer | Markus Holtermann <info@markusholtermann.eu> | 2015-01-16 20:21:34 +0100 |
| commit | b4ac23290772e0c11379eb2dfb81c750b7052b66 (patch) | |
| tree | 9dcb8c6c65589f9074b11547ba6529d9f273f46c /tests/i18n/contenttypes/tests.py | |
| parent | 374c2419e5adef53a643bf69c4753a6bf0c78a98 (diff) | |
Fixed #24099 -- Removed contenttype.name deprecated field
This finsishes the work started on #16803.
Thanks Simon Charette, Tim Graham and Collin Anderson for the
reviews.
Diffstat (limited to 'tests/i18n/contenttypes/tests.py')
| -rw-r--r-- | tests/i18n/contenttypes/tests.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/i18n/contenttypes/tests.py b/tests/i18n/contenttypes/tests.py index 70314b737b..23b1ac6c73 100644 --- a/tests/i18n/contenttypes/tests.py +++ b/tests/i18n/contenttypes/tests.py @@ -28,8 +28,3 @@ class ContentTypeTests(TestCase): self.assertEqual(six.text_type(company_type), 'Company') with translation.override('fr'): self.assertEqual(six.text_type(company_type), 'Société') - - def test_field_override(self): - company_type = ContentType.objects.get(app_label='i18n', model='company') - company_type.name = 'Other' - self.assertEqual(six.text_type(company_type), 'Other') |
