def run(self): """Run vulture over all generated files and return the output.""" names = [p.name for p in self._tmp_path.glob('*')] assert names with testutils.change_cwd(self._tmp_path): return run_vulture.run(names)
def run(self): """Run vulture over all generated files and return the output.""" files = self._tmpdir.listdir() assert files with self._tmpdir.as_cwd(): return run_vulture.run([str(e.basename) for e in files])