Lines Matching refs:path
62 self.path = None
65 def Load(self, path): argument
67 self.path = path
68 if not os.path.isfile(path):
70 with open(path, "r") as f:
79 os.mkdir(os.path.join(self._temp_dir, "bin"))
85 for path in self._captured_files:
86 if os.path.isfile(path):
87 os.remove(path)
90 def _CreateFile(path, contents): argument
92 parent_dir = os.path.dirname(path)
93 if not os.path.exists(parent_dir):
95 with open(path, "w") as f:
100 path = os.path.join(self._temp_dir, "bin", name)
101 self._CreateFile(path, "")
102 return path
157 misc_info_path = os.path.join(self._temp_dir, "misc_info.txt")
179 rewritten_misc_info.path,
187 self.assertFalse(os.path.exists(rewritten_misc_info.path))
233 config_path = os.path.join(self._temp_dir, "misc_info.txt")
255 "-i", rewritten_config.path,
266 self.assertFalse(os.path.exists(rewritten_config.path))