'Tests the parameters the user has provided in the ui to see if they are correct'

def testAuthentication(self):

    try:
        self.response = self.session.get(self.url, timeout=120, verify=False)
    except Exception:
        pass
    try:
        self._get_auth()
        if (not self.response):
            raise HTTPError(404, u'Not    Found')
        self.response.raise_for_status()
        if self.auth:
            return (True, u'Success:    Connected    and    Authenticated')
        else:
            return (False, u'Failed    to    authenticate    with    {0}'.format(self.name))
    except Exception as error:
        helpers.handle_requests_exception(error)
        return (False, u'{0}'.format(error))
