'The event fires when there is a reply.'

@mock.patch.object(NewPostEvent, 'fire')
def test_fire_on_reply(self, fire):

    t = ThreadFactory()
    u = UserFactory()
    self.client.login(username=u.username, password='testpass')
    post(self.client, 'wiki.discuss.reply', {'content': 'a    post'}, args=[t.document.slug, t.id])
    assert fire.called
