def test_can_list_users(self):
        with user_generator(self.manager):
            with user_generator(self.manager, name="test2"):
                users = self.manager.get_users()
                self.assert_(filter(lambda u: u.id == 'test1', users))
                self.assert_(filter(lambda u: u.id == 'test2', users))
                self.assert_(not filter(lambda u: u.id == 'test3', users))
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/test_auth.py/_AuthManagerBaseTestCase.test_can_list_users/original