

def test_can_create_and_get_project(self):
    with user_and_project_generator(self.manager) as (u, p):
        self.assert_(self.manager.get_user('test1'))
        self.assert_(self.manager.get_user('test1'))
        self.assert_(self.manager.get_project('testproj'))

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