def remove_tenant_user(request, project=None, user=None, domain=None):
    client = keystoneclient(request, admin=True)
    roles = client.roles.roles_for_user(user, project)
    for role in roles:
        remove_tenant_user_role(request, user=user, role=role.id,
                                project=project, domain=domain)
When the cache is queried exactly as the cached entry should expire but
dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/api/keystone.py/remove_tenant_user--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/names/test/test_cache.py/Caching.test_expiredTTLLookup