'Deleting the solution of a Question should update the question.'

def test_delete_solution_of_question(self):

    q = AnswerFactory().question
    solution = q.last_answer
    q.solution = solution
    q.save()
    solution.delete()
    q = Question.objects.get(pk=q.id)
    eq_(q.solution, None)
