#NEWLINE# def _collection_to_collection_fixture( self ) : #NEWLINE# #INDENT# ( User , Order , Item ) = ( self . classes . User , self . classes . Order , self . classes . Item ) #NEWLINE# mapper ( User , self . tables . users , properties = { #NEWLINE# #INDENT# 'orders' : relationship ( Order ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# mapper ( Order , self . tables . orders , properties = { #NEWLINE# #INDENT# 'items' : relationship ( Item , secondary = self . tables . order_items ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# mapper ( Item , self . tables . items ) #NEWLINE# sess = Session ( autoflush = False ) #NEWLINE# return ( User , Order , Item , sess )