def get_model_mock(self):
        if not self.model or not self.model[0]:
            # no mock needed
            return {}
        try:
            return self.model[1]
        except __HOLE__:
            raise MockNotFound("no mock for %s" % self.name)
dataset/ETHPy150Open priestc/giotto/giotto/programs/__init__.py/Program.get_model_mock