'Deleting a question also removes the flags on that question.'

def test_delete_question_removes_flag(self):

    q = QuestionFactory(title='Test    Question', content='Lorem    Ipsum    Dolor')
    u = UserFactory()
    FlaggedObject.objects.create(status=0, content_object=q, reason='language', creator_id=u.id)
    eq_(1, FlaggedObject.objects.count())
    q.delete()
    eq_(0, FlaggedObject.objects.count())
