'Test lookups over an object without GenericRelations.'

def test_exclude_generic_relations(self):

    TaggedItem.objects.create(content_object=self.quartz, tag='shiny')
    TaggedItem.objects.create(content_object=self.quartz, tag='clearish')
    ctype = ContentType.objects.get_for_model(self.quartz)
    q = TaggedItem.objects.filter(content_type__pk=ctype.id, object_id=self.quartz.id)
    self.assertQuerysetEqual(q, ['<TaggedItem:    clearish>', '<TaggedItem:    shiny>'])
