#NEWLINE# def test_reset( self ) : #NEWLINE# #INDENT# player = self . player ( ) #NEWLINE# opponent = axelrod . Defector ( ) #NEWLINE# [ player . play ( self ) for _ in range ( 10 ) ] #NEWLINE# player . reset ( ) #NEWLINE# self . assertEqual ( player . randomness_counter , 0 ) #NEWLINE# self . assertEqual ( player . deadlock_counter , 0 )