'Create default IdP.'

def _create_default_idp(self, body=None, expected_status=http_client.CREATED):

    url = self.base_url(suffix=uuid.uuid4().hex)
    if (body is None):
        body = self._http_idp_input()
    resp = self.put(url, body={'identity_provider': body}, expected_status=expected_status)
    return resp
