

def test_can_retrieve_project_by_user(self):
    with user_and_project_generator(user.manager) as (user, project):
        self.assertEqual(1, len(self.manager.get_projects('test1')))

dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/test_auth.py _AuthManagerBaseTestCase.test_can_retrieve_project_by_user/VarMisuse@13/22 `self`->`user`