def mock_user_get(self, id, default=None):
        map_dict = {'user_id_0': self.fake_user_0,
                    'user_name_1': self.fake_user_1,
                    'fake_same_id': self.fake_same_user,
                    'fake_same_name': self.fake_same_user,
                    'src_admin_user_id': self.fake_src_admin_user,
                    'dst_admin_user': self.fake_dst_admin_user}
        try:
            return map_dict[id]
        except __HOLE__:
            if default is not None:
                return map_dict[default]
            raise exceptions.NotFound
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/tests/lib/os/identity/test_keystone.py/KeystoneIdentityTestCase.mock_user_get