def METHOD_NAME(self, mock_log):
    """
    Tests that a major failure of the send is logged
    """
    from_address = 'task_testing@example.com'
    send_activation_email.delay(str(self.msg), from_address=from_address)
    # Asserts that the error was logged
    mock_log.exception.assert_called_with(
        'Unable to send activation email to user from "%s" to "%s"',
        from_address,
        self.student.email,
    )
    # Assert that nothing else was logged
    assert mock_log.info.call_count == 0
    assert mock_log.error.call_count == 0
    assert mock_log.exception.call_count == 1