Lines Matching refs:resultdir
199 self.resultdir = tempfile.mkdtemp(suffix='unittest')
202 self.job._find_resultdir = lambda *_: self.resultdir
207 shutil.rmtree(self.resultdir, ignore_errors=True)
215 sub1 = os.path.join(self.resultdir, 'sub1')
218 self.assertEqual(self.job.resultdir, sub1)
222 sub2 = os.path.join(self.resultdir, 'sub2')
224 self.assertEqual(self.job.resultdir, sub2)
232 self.assertEqual(self.job.resultdir, otherresults)
238 sub3 = os.path.join(self.resultdir, 'sub3')
240 self.assertEqual(self.job.resultdir, sub3)
242 self.assertEqual(self.job.resultdir, self.resultdir)
246 sub4 = os.path.join(self.resultdir, 'sub4')
249 self.assertEqual(self.job.resultdir, sub4)
251 self.assertEqual(self.job.resultdir, subsub)
253 self.assertEqual(self.job.resultdir, sub4)
255 self.assertEqual(self.job.resultdir, self.resultdir)
1082 resultdir = self.testdir variable in test_status_logger.setUp.stub_job
1368 self.resultdir = tempfile.mkdtemp(suffix='unittest')
1375 return self.resultdir
1387 os.chdir(self.resultdir)
1393 shutil.rmtree(self.resultdir, ignore_errors=True)
1404 os.chmod(self.resultdir, stat.S_IRUSR | stat.S_IXUSR)