#NEWLINE# def proxying_engine( conn_cls = DBAPIProxyConnection , cursor_cls = DBAPIProxyCursor ) : #NEWLINE# #INDENT# 'Produce an engine that provides proxy hooks for\n    common methods.\n\n    ' #NEWLINE# def mock_conn( ) : #NEWLINE# #INDENT# return conn_cls ( config . db , cursor_cls ) #NEWLINE# #UNINDENT# return testing_engine ( options = { #NEWLINE# #INDENT# 'creator' : conn_cls , #NEWLINE# #UNINDENT# } )