'The event also fires when an answer is marked as a solution.'

@mock.patch.object(QuestionSolvedEvent, 'fire')
def test_fire_on_solution(self, fire):

    a = AnswerFactory()
    q = a.question
    self.client.login(username=q.creator, password='testpass')
    post(self.client, 'questions.solve', args=[q.id, a.id])
    assert fire.called
