PEATSA/Core/Tests/UnitTests/TestEnvironment.py
def testPKAModulePath(self):
	
		'''Checks the path given for PKA Tools is whats expected
		
		This is set to $HOME/PEAT for test purposes'''
		
		path = os.path.join(os.path.expanduser('~'), 'PEAT')

		#If it worked the last entry in sys.path should be this path
		self.assertNotEqual(sys.path.count(path), 0)
		#Also test return value from the class itself
		self.assertEqual(self.configuration.pkaModuleLocation(), path)
Checks the path given for PKA Tools is whats expected
		
		This is set to $HOME/PEAT for test purposes
Checks the path given for PKA Tools is whats expected
This is set to $HOME/PEAT for test purposes
Checks the path given for PKA Tools is whats expected This is set to $HOME / PEAT for test purposes
def testPKAModulePath(self):
		path = os.path.join(os.path.expanduser('~'), 'PEAT')
		self.assertNotEqual(sys.path.count(path), 0)
		self.assertEqual(self.configuration.pkaModuleLocation(), path)
def testPKAModulePath ( self ) : path = os . path . join ( os . path . expanduser ( '~' ) , 'PEAT' ) self . assertNotEqual ( sys . path . count ( path ) , 0 ) self . assertEqual ( self . configuration . pkaModuleLocation ( ) , path )
Checks the path given for PKA Tools is whats expected
This is set to $HOME/PEAT for test purposes
Checks the path given for PKA Tools is whats expected This is set to $HOME / PEAT for test purposes
'''Checks the path given for PKA Tools is whats expected
		
		This is set to $HOME/PEAT for test purposes''' #If it worked the last entry in sys.path should be this path #Also test return value from the class itself
self