コード例 #1
0
 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)
コード例 #2
0
 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])
コード例 #3
0
 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])