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