'Sends a test notification to trakt with the given authentication info and returns a boolean
representing success.
api: The api string to use
username: The username to use
blacklist_name: slug of trakt list used to hide not interested show
Returns: True if the request succeeded, False otherwise'

def test_notify(self, username, blacklist_name=None):

    try:
        trakt_api = TraktAPI(sickrage.srCore.srConfig.SSL_VERIFY, sickrage.srCore.srConfig.TRAKT_TIMEOUT)
        trakt_api.validateAccount()
        if (blacklist_name and (blacklist_name is not None)):
            trakt_lists = trakt_api.traktRequest(((u'users/' + username) + u'/lists'))
            found = False
            for trakt_list in trakt_lists:
                if (trakt_list[u'ids'][u'slug'] == blacklist_name):
                    return u'Test    notice    sent    successfully    to    Trakt'
            if (not found):
                return u"Trakt    blacklist    doesn't    exists"
        else:
            return u'Test    notice    sent    successfully    to    Trakt'
    except (traktException, traktAuthException, traktServerBusy) as e:
        sickrage.srCore.srLogger.warning((u'Could    not    connect    to    Trakt    service:    %s' % e))
        return (u'Test    notice    failed    to    Trakt:    %s' % e)
