#NEWLINE# def test_for_each_empty_collection( self ) : #NEWLINE# #INDENT# values = [ ] #NEWLINE# retry1 = retry . ForEach ( engine , 'r1' , provides = 'x' ) #NEWLINE# flow = lf . Flow ( 'flow-1' , retry1 ) . add ( utils . ConditionalTask ( 't1' ) ) #NEWLINE# engine = self . _make_engine ( flow ) #NEWLINE# engine . storage . inject ( { #NEWLINE# #INDENT# 'y' : 1 , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertRaisesRegexp ( exc . NotFound , '^No elements left' , engine . run )