def _get_dummy_result(path): r = Result(path_name=path) r.id = 0 return r
def _get_dummy_result(self): r = Result(path_name=self._dir) r.id = 0 return r