@login_manager.user_loader
def load_user(userid):
    return UserObj.get(userid)
Test cli function
dataset/ETHPy150Open angstwad/elemental/elemental/model/login.py/load_user--crossover with--dataset/ETHPy150Open saltstack/salt/tests/integration/client/standard.py/StdTest.test_cli