'Create and later delete IdP.
Expect HTTP 404 Not Found for the GET IdP call.'

def test_delete_existing_idp(self):

    default_resp = self._create_default_idp()
    default_idp = self._fetch_attribute_from_response(default_resp, 'identity_provider')
    idp_id = default_idp.get('id')
    self.assertIsNotNone(idp_id)
    url = self.base_url(suffix=idp_id)
    self.delete(url)
    self.get(url, expected_status=http_client.NOT_FOUND)
