#NEWLINE# def testAbort( self ) : #NEWLINE# #INDENT# job = map_job . Job . submit ( self . config ) #NEWLINE# self . assertEqual ( map_job . Job . RUNNING , job . get_status ( ) ) #NEWLINE# job . abort ( ) #NEWLINE# self . assertEqual ( map_job . Job . RUNNING , job . get_status ( ) ) #NEWLINE# test_support . execute_until_empty ( job . taskqueue ) #NEWLINE# job = map_job . Job . get_job_by_id ( job_id = self . config . job_id ) #NEWLINE# self . assertEqual ( map_job . Job . ABORTED , job . get_status ( ) )