#NEWLINE# @ skipOnTravis ( 'https://travis-ci.org/spotify/luigi/jobs/72953884' ) #NEWLINE# def test_save_state( self ) : #NEWLINE# #INDENT# self . sch . add_task ( 'X' , 'B' , deps = ( 'A' , ) ) #NEWLINE# self . sch . add_task ( 'X' , 'A' ) #NEWLINE# self . assertEqual ( self . sch . get_work ( 'X' ) [ 'task_id' ] , 'A' ) #NEWLINE# self . stop_server ( ) #NEWLINE# self . start_server ( ) #NEWLINE# work = self . sch . get_work ( 'X' ) [ 'running_tasks' ] [ 0 ] #NEWLINE# self . assertEqual ( self [ 'task_id' ] , 'A' )