#NEWLINE# def test_DeathsBite( self ) : #NEWLINE# #INDENT# game = generate_game_for ( [ IronfurGrizzly , DeathsBite ] , Deathlord , PlayAndAttackAgent , OneCardPlayingAgent ) #NEWLINE# for turn in range ( 0 , 7 ) : #NEWLINE# #INDENT# game . play_single_turn ( ) #NEWLINE# #UNINDENT# self . assertEqual ( 1 , len ( game . current_player . minions ) ) #NEWLINE# self . assertIsNotNone ( game . current_player . weapon ) #NEWLINE# self . assertEqual ( 1 , game . other_player . minions [ 0 ] . health ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# game . play_single_turn ( ) #NEWLINE# self . assertEqual ( 1 , len ( game . other_player . minions ) ) #NEWLINE# self . assertEqual ( 3 , game . other_player . minions [ 0 ] . health ) #NEWLINE# self . assertEqual ( 2 , len ( game . current_player . minions ) ) #NEWLINE# self . assertEqual ( 2 , game . current_player . minions [ 0 ] . health ) #NEWLINE# self . assertEqual ( 3 , game . current_player . minions [ 1 ] . health )