

def test_can_modify_project(self):
    with user_and_project_generator(self.manager):
        with user_generator(self.manager, name='test2'):
            self.manager.modify_project('testproj', 'test2', 'new desc')
            project = self.manager.get_project('testproj')
            self.assertEqual('test2', project.project_manager_id)
            self.assertEqual('new desc', project.description)

dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/test_auth.py _AuthManagerBaseTestCase.test_can_modify_project/original