Lines Matching refs:test_tmpdir
42 self.test_tmpdir = tempfile.mkdtemp()
45 shutil.rmtree(self.test_tmpdir)
48 test_file = os.path.join(self.test_tmpdir, 'file.py')
54 style_file = os.path.join(self.test_tmpdir, '.style.yapf')
57 test_filename = os.path.join(self.test_tmpdir, 'file.py')
61 test_filename = os.path.join(self.test_tmpdir, 'dir1', 'file.py')
74 self.test_tmpdir = tempfile.mkdtemp()
78 shutil.rmtree(self.test_tmpdir)
82 fullpath = os.path.normpath(os.path.join(self.test_tmpdir, name))
128 [self.test_tmpdir], recursive=True, exclude=None)),
145 [self.test_tmpdir], recursive=True, exclude=['*test*3.py'])),
163 [self.test_tmpdir], recursive=True, exclude=['*.test1*'])
197 os.chdir(self.test_tmpdir)
199 [os.path.relpath(self.test_tmpdir)],
207 os.path.relpath(self.test_tmpdir), os.path.basename(tdir2),
210 os.path.relpath(self.test_tmpdir), os.path.basename(tdir3),
225 os.chdir(self.test_tmpdir)
255 self.test_tmpdir = tempfile.mkdtemp()
258 shutil.rmtree(self.test_tmpdir)
261 file1 = os.path.join(self.test_tmpdir, 'testfile1.py')
265 file1 = os.path.join(self.test_tmpdir, 'testfile1')
267 file2 = os.path.join(self.test_tmpdir, 'testfile1.rb')
271 file1 = os.path.join(self.test_tmpdir, 'testfile1')
276 file2 = os.path.join(self.test_tmpdir, 'testfile2.run')
282 file1 = os.path.join(self.test_tmpdir, 'testfile1')
288 file1 = os.path.join(self.test_tmpdir, 'testfile1')
328 cls.test_tmpdir = tempfile.mkdtemp()
332 shutil.rmtree(cls.test_tmpdir)
336 with utils.NamedTempFile(dirname=self.test_tmpdir) as (f, fname):