

def __init__(self, manager, **user_state):
    if ('name' not in user_state):
        user_state['name'] = 'test1'
    self.manager = manager
    self.user = manager.create_user(**user_state)

dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/test_auth.py user_generator.__init__/original