'Ensure that if there\'s an HTTP failure while fetching metadata, we continue, using the
metadata from the SAML assertion.'

def test_register_http_failure(self):

    self._configure_testshib_provider(identity_provider_type='sap_success_factors', metadata_source=TESTSHIB_METADATA_URL, other_settings=json.dumps({'sapsf_oauth_root_url': 'http://successfactors.com/oauth-fake/', 'sapsf_private_key': 'fake_private_key_here', 'odata_api_root_url': 'http://api.successfactors.com/odata/v2/', 'odata_company_id': 'NCC1701D', 'odata_client_id': 'TatVotSEiCMteSNWtSOnLanCtBGwNhGB'}))
    self.USER_EMAIL = 'myself@testshib.org'
    self.USER_NAME = 'Me    Myself    And    I'
    self.USER_USERNAME = 'myself'
    super(SuccessFactorsIntegrationTest, self).test_register()
