PEATSA/Core/Tests/UnitTests/TestEnvironment.py
def testUFFBAPSPath(self):
	
		'''Tests that a valid path to the UFFBAPS run dir is returned and that everything is present'''
	
		self.workingDirectory = Environment.WorkingDirectory(location=validDirectory)
		self.assertEqual(self.workingDirectory.uffbapsRunDirectory(), uffbapsRunDirectory)
		self.workingDirectory.setupUFFBAPS()
	
		#Check everthing was copied
		contents = os.listdir(self.workingDirectory.uffbapsRunDirectory())
		expectedContents = os.listdir(Environment.UffbapsResourceDirectory())
		self.assertEqual(contents, expectedContents)
Tests that a valid path to the UFFBAPS run dir is returned and that everything is present
Tests that a valid path to the UFFBAPS run dir is returned and that everything is present
Tests that a valid path to the UFFBAPS run dir is returned and that everything is present
def testUFFBAPSPath(self):
		self.workingDirectory = Environment.WorkingDirectory(location=validDirectory)
		self.assertEqual(self.workingDirectory.uffbapsRunDirectory(), uffbapsRunDirectory)
		self.workingDirectory.setupUFFBAPS()
		contents = os.listdir(self.workingDirectory.uffbapsRunDirectory())
		expectedContents = os.listdir(Environment.UffbapsResourceDirectory())
		self.assertEqual(contents, expectedContents)
def testUFFBAPSPath ( self ) : self . workingDirectory = Environment . WorkingDirectory ( location = validDirectory ) self . assertEqual ( self . workingDirectory . uffbapsRunDirectory ( ) , uffbapsRunDirectory ) self . workingDirectory . setupUFFBAPS ( ) contents = os . listdir ( self . workingDirectory . uffbapsRunDirectory ( ) ) expectedContents = os . listdir ( Environment . UffbapsResourceDirectory ( ) ) self . assertEqual ( contents , expectedContents )
Tests that a valid path to the UFFBAPS run dir is returned and that everything is present
Tests that a valid path to the UFFBAPS run dir is returned and that everything is present
'''Tests that a valid path to the UFFBAPS run dir is returned and that everything is present''' #Check everthing was copied
self