PEATSA/Core/Tests/UnitTests/TestMutants.py
def testSinglePointMutationFormatResidueError(self):
	
		'''Test that the class responds correctly to an incorrect residue format'''
		
		stream = open("SimpleMutationList", "w+")
		stream.write(invalidSimpleListTwo)
		stream.close()
		self.assertRaises(Exceptions.MutationListFileFormatError, Data.MutationListFile, "SimpleMutationList")
Test that the class responds correctly to an incorrect residue format
Test that the class responds correctly to an incorrect residue format
Test that the class responds correctly to an incorrect residue format
def testSinglePointMutationFormatResidueError(self):
		stream = open("SimpleMutationList", "w+")
		stream.write(invalidSimpleListTwo)
		stream.close()
		self.assertRaises(Exceptions.MutationListFileFormatError, Data.MutationListFile, "SimpleMutationList")
def testSinglePointMutationFormatResidueError ( self ) : stream = open ( "SimpleMutationList" , "w+" ) stream . write ( invalidSimpleListTwo ) stream . close ( ) self . assertRaises ( Exceptions . MutationListFileFormatError , Data . MutationListFile , "SimpleMutationList" )
Test that the class responds correctly to an incorrect residue format
Test that the class responds correctly to an incorrect residue format
'''Test that the class responds correctly to an incorrect residue format'''
self