diff --git a/tests/generic_relations/tests.py b/tests/generic_relations/tests.py
index ae90ace..3e05bb7 100644
a
|
b
|
class GenericRelationsTests(TestCase):
|
304 | 304 | self.assertFalse(created) |
305 | 305 | self.assertEqual(tag.content_object.id, diamond.id) |
306 | 306 | |
| 307 | def test_query_content_type(self): |
| 308 | with six.assertRaisesRegex(self, FieldError, "^Cannot resolve keyword 'content_object' into field."): |
| 309 | TaggedItem.objects.get(content_object='') |
| 310 | |
307 | 311 | |
308 | 312 | class CustomWidget(forms.TextInput): |
309 | 313 | pass |