#NEWLINE# def test_many_results_storage_provided_visible_to( self ) : #NEWLINE# #INDENT# flow = lf . Flow ( 'flow' ) #NEWLINE# flow . add ( utils . AddOneSameProvidesRequires ( 'a' ) ) #NEWLINE# flow . add ( utils . AddOneSameProvidesRequires ( 'b' ) ) #NEWLINE# flow . add ( utils . AddOneSameProvidesRequires ( 'c' ) ) #NEWLINE# engine = self . _make_engine ( flow , store = { #NEWLINE# #INDENT# 'value' : 0 , #NEWLINE# #UNINDENT# } ) #NEWLINE# engine . run ( ) #NEWLINE# atoms = list ( flow ) #NEWLINE# a = atoms [ 0 ] #NEWLINE# a_kwargs = engine . storage . fetch_mapped_args ( a . rebind , atom_name = 'a' ) #NEWLINE# self . assertEqual ( { #NEWLINE# #INDENT# 'value' : 0 , #NEWLINE# #UNINDENT# } , a_kwargs ) #NEWLINE# b = atoms [ 1 ] #NEWLINE# b_kwargs = engine . storage . fetch_mapped_args ( b . rebind , atom_name = 'b' ) #NEWLINE# self . assertEqual ( { #NEWLINE# #INDENT# 'value' : 0 , #NEWLINE# #UNINDENT# } , b_kwargs ) #NEWLINE# c = atoms [ 2 ] #NEWLINE# c_kwargs = engine . storage . fetch_mapped_args ( c . rebind , atom_name = 'c' ) #NEWLINE# self . assertEqual ( { #NEWLINE# #INDENT# 'value' : 0 , #NEWLINE# #UNINDENT# } , c_kwargs )