#NEWLINE# def test_eval_assign( self ) : #NEWLINE# #INDENT# node_id = self . nodes [ 'node-1' ] [ 'id' ] #NEWLINE# expression = ( 'facts.parent_id := %d' % int ( self . nodes [ 'container' ] [ 'id' ] ) ) #NEWLINE# node = self . _eval_expression ( expression , node_id ) #NEWLINE# self . assertEquals ( node [ 'facts' ] . get ( 'parent_id' , None ) , self . nodes [ 'container' ] [ 'id' ] )