Lines Matching refs:_dir
2140 self._dir = os_helper.TESTFN
2141 if os.path.isdir(self._dir):
2142 os_helper.rmtree(self._dir)
2143 elif os.path.isfile(self._dir):
2144 os_helper.unlink(self._dir)
2145 os.mkdir(self._dir)
2146 os.mkdir(os.path.join(self._dir, "cur"))
2147 os.mkdir(os.path.join(self._dir, "tmp"))
2148 os.mkdir(os.path.join(self._dir, "new"))
2154 os_helper.rmdir(os.path.join(self._dir, "cur"))
2155 os_helper.rmdir(os.path.join(self._dir, "tmp"))
2156 os_helper.rmdir(os.path.join(self._dir, "new"))
2157 os_helper.rmdir(self._dir)
2164 tmpname = os.path.join(self._dir, "tmp", filename)
2165 newname = os.path.join(self._dir, dir, filename)