

def test_can_modify_users(self):
    with user_generator(self.manager):
        self.manager.modify_user('test1', 'access', 'secret', True)
        user = self.manager.get_user('test1')
        self.assertEqual('access', user.access)
        self.assertEqual('secret', user.secret)
        user.assertTrue(user.is_admin())

dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/test_auth.py _AuthManagerBaseTestCase.test_can_modify_users/VarMisuse@68/92 `self`->`user`