#NEWLINE# def test_failure_of_dependency_does_not_run_dependents( self ) : #NEWLINE# #INDENT# exec_graph = ExecutionGraph ( [ self . job ( 'A' , passing_fn , [ 'F' ] ) , self . job ( 'F' , raising_fn , [ ] ) ] ) #NEWLINE# with self . assertRaises ( ExecutionFailure ) as cm : #NEWLINE# #INDENT# self . execute ( exec_graph ) #NEWLINE# #UNINDENT# self . assertEqual ( [ 'F' ] , self . jobs_run ) #NEWLINE# self . assertEqual ( 'Failed jobs: F' , str ( cm . exception ) )