PEATSA/Core/Tests/UnitTests/TestMutants.py
def testRemoveMutant(self):
	
		'''Test we can remove an entry from the list'''
		
		mutationSet = self.list.mutantList()[0]
		self.list.removeMutant(mutationSet)
		
		#See if its removed
		self.assertEqual(self.list.mutantList().count(mutationSet), 0)
		
		#Check the file is updated properly
		newList = Data.MutationListFile("SimpleMutationList")
		self.assertEqual(newList, self.list)
Test we can remove an entry from the list
Test we can remove an entry from the list
Test we can remove an entry from the list
def testRemoveMutant(self):
		mutationSet = self.list.mutantList()[0]
		self.list.removeMutant(mutationSet)
		self.assertEqual(self.list.mutantList().count(mutationSet), 0)
		newList = Data.MutationListFile("SimpleMutationList")
		self.assertEqual(newList, self.list)
def testRemoveMutant ( self ) : mutationSet = self . list . mutantList ( ) [ 0 ] self . list . removeMutant ( mutationSet ) self . assertEqual ( self . list . mutantList ( ) . count ( mutationSet ) , 0 ) newList = Data . MutationListFile ( "SimpleMutationList" ) self . assertEqual ( newList , self . list )
Test we can remove an entry from the list
Test we can remove an entry from the list
'''Test we can remove an entry from the list''' #See if its removed #Check the file is updated properly
self