'Returns the identity version used by the test class'

@classmethod
def get_identity_version(cls):

    identity_version = getattr(cls, 'identity_version', None)
    return (identity_version or CONF.identity.auth_version)
