'Deleting an answer also removes the flags on that answer.'

def test_delete_answer_removes_flag(self):

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