PEATSA/Core/Tests/UnitTests/TestMutants.py
def testSinglePointMutationLineError(self):
	
		'''Test that the class responds correctly to an incorrectly formatted line'''
		
		stream = open("SimpleMutationList", "w+")
		stream.write(invalidSimpleListThree)
		stream.close()
		self.assertRaises(Exceptions.MutationListFileFormatError, Data.MutationListFile, "SimpleMutationList")
Test that the class responds correctly to an incorrectly formatted line
Test that the class responds correctly to an incorrectly formatted line
Test that the class responds correctly to an incorrectly formatted line
def testSinglePointMutationLineError(self):
		stream = open("SimpleMutationList", "w+")
		stream.write(invalidSimpleListThree)
		stream.close()
		self.assertRaises(Exceptions.MutationListFileFormatError, Data.MutationListFile, "SimpleMutationList")
def testSinglePointMutationLineError ( self ) : stream = open ( "SimpleMutationList" , "w+" ) stream . write ( invalidSimpleListThree ) stream . close ( ) self . assertRaises ( Exceptions . MutationListFileFormatError , Data . MutationListFile , "SimpleMutationList" )
Test that the class responds correctly to an incorrectly formatted line
Test that the class responds correctly to an incorrectly formatted line
'''Test that the class responds correctly to an incorrectly formatted line'''
self