#NEWLINE# def assert_attempt( self , engine , * goal_names ) : #NEWLINE# #INDENT# self . assertEqual ( 1 , len ( engine . attempts ) ) #NEWLINE# ( context , goals ) = engine . attempts [ 0 ] #NEWLINE# self . assertEqual ( self . _context , context ) #NEWLINE# self . assertEqual ( self . as_goals ( * goal_names ) , goals )