Пример #1
0
 def setUp(self):
     unittest.TestCase.setUp(self)
     self.testNo = TestStatus.getTestSetup(1, 1, 2, 2)
     self.depth = TestStatus.getTestSetup(1, 2, 3, 5)
     self.jobTreeDir = os.path.join(os.getcwd(), "jobTree") #A directory for the job tree to be created in
     self.tempFileTreeDir = os.path.join(os.getcwd(), "tempFileTree") #Ensures that file tree is visible
     self.tempFileTree = TempFileTree(self.tempFileTreeDir) #A place to get temp files from
Пример #2
0
 def setUp(self):
     unittest.TestCase.setUp(self)
     self.testNo = TestStatus.getTestSetup(1, 1, 5, 5)
     self.depth = TestStatus.getTestSetup(1, 2, 2, 3)
     self.jobTreeDir = os.getcwd() + "/jobTree" #A directory for the job tree to be created in
     self.tempFileTreeDir = os.path.join(os.getcwd(), "tempFileTree")
     self.tempFileTree = TempFileTree(self.tempFileTreeDir) #A place to get temp files from
     parasolRestart()
Пример #3
0
 def setUp(self):
     unittest.TestCase.setUp(self)
     self.testNo = TestStatus.getTestSetup(1, 2, 10, 10)
Пример #4
0
 def setUp(self):
     unittest.TestCase.setUp(self)
     self.testNo = TestStatus.getTestSetup(1, 2, 10, 10)
     self.tempDir = getTempDirectory(os.getcwd())
     self.jobTreeDir = os.path.join(self.tempDir, "jobTree") #A directory for the job tree to be created in