diff --git a/tests/generic_relations/tests.py b/tests/generic_relations/tests.py
index 806f8ca..ebb0719 100644
a
|
b
|
class GenericRelationsTests(TestCase):
|
119 | 119 | self.assertQuerysetEqual( |
120 | 120 | qs, ["hairy", "mpk", "yellow"], lambda x: x.tag) |
121 | 121 | |
| 122 | def test_exclude_over_reverse_generic_relation_with_related_query_name(self): |
| 123 | self.platypus.tags.create(tag='fatty') |
| 124 | s = TaggedItem.objects.exclude(animal__common_name='Lion') |
| 125 | self.assertQuerysetEqual(qs, ['fatty'], lambda x: x.tag) |
| 126 | |
122 | 127 | def test_exclude_generic_relations(self): |
123 | 128 | """ |
124 | 129 | Test lookups over an object without GenericRelations. |