#NEWLINE# def test_populate_dict( self ) : #NEWLINE# #INDENT# ( uowcommit , a1 , b1 , a_mapper , b_mapper ) = self . _fixture ( ) #NEWLINE# a1 . obj ( ) . id = 10 #NEWLINE# pairs = [ ( a_mapper . c . id , b_mapper . c . id ) ] #NEWLINE# dest = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# sync . populate_dict ( a1 , a_mapper , dest , pairs ) #NEWLINE# eq_ ( uowcommit , { #NEWLINE# #INDENT# 'id' : 10 , #NEWLINE# #UNINDENT# } )