'Watch a question for replies and fail to send email.'

@mock.patch.object(mail.EmailMessage, 'send')
def test_watch_replies_smtp_error(self, emailmessage_send):

    emailmessage_send.side_effect = emailmessage_raise_smtp
    self.client.logout()
    r = post(self.client, 'questions.watch', {'email': 'some@bo.dy', 'event_type': 'reply'}, args=[self.question.id])
    assert (not QuestionReplyEvent.is_notifying('some@bo.dy', self.question)), 'Watch    was    created'
    self.assertContains(r, 'Could    not    send    a    message    to    that    email')
