'Enable SAML support (via SAMLConfiguration, not for any particular provider)'

def enable_saml(self, **kwargs):

    if ('private_key' not in kwargs):
        kwargs['private_key'] = self._get_private_key()
    if ('public_key' not in kwargs):
        kwargs['public_key'] = self._get_public_key()
    kwargs.setdefault('entity_id', 'https://saml.example.none')
    super(SAMLTestCase, self).enable_saml(**kwargs)
