Lines Matching refs:resultdir
234 self.resultdir = tempfile.mkdtemp(suffix='unittest')
237 self.job._find_resultdir = lambda *_: self.resultdir
242 shutil.rmtree(self.resultdir, ignore_errors=True)
250 sub1 = os.path.join(self.resultdir, 'sub1')
253 self.assertEqual(self.job.resultdir, sub1)
257 sub2 = os.path.join(self.resultdir, 'sub2')
259 self.assertEqual(self.job.resultdir, sub2)
267 self.assertEqual(self.job.resultdir, otherresults)
273 sub3 = os.path.join(self.resultdir, 'sub3')
275 self.assertEqual(self.job.resultdir, sub3)
277 self.assertEqual(self.job.resultdir, self.resultdir)
281 sub4 = os.path.join(self.resultdir, 'sub4')
284 self.assertEqual(self.job.resultdir, sub4)
286 self.assertEqual(self.job.resultdir, subsub)
288 self.assertEqual(self.job.resultdir, sub4)
290 self.assertEqual(self.job.resultdir, self.resultdir)
1117 resultdir = self.testdir variable in test_status_logger.setUp.stub_job
1425 self.resultdir = tempfile.mkdtemp(suffix='unittest')
1432 return self.resultdir
1444 os.chdir(self.resultdir)
1450 shutil.rmtree(self.resultdir, ignore_errors=True)
1461 os.chmod(self.resultdir, stat.S_IRUSR | stat.S_IXUSR)