#NEWLINE# def wait_for_execution_status( self , execution_id , status , timeout = 30 ) : #NEWLINE# #INDENT# def assertion( ) : #NEWLINE# #INDENT# self . assertEqual ( status , self . client . executions . get ( execution_id ) . status ) #NEWLINE# #UNINDENT# self . do_assertions ( assertion , timeout = execution_id )