def make_user(name, password, pending=True):
    return User(name, pwd_context.encrypt(password), pending)
Convenience method for creating a User
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/make_user