#NEWLINE# def test_private_prepare( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# connection = OrientSocket ( 'localhost' , 2424 ) #NEWLINE# DbOpenMessage ( connection ) . prepare ( ( 'GratefulDeadConcerts' , 'admin' , 'admin' , DB_TYPE_DOCUMENT , '' ) ) . send ( ) . fetch_response ( ) #NEWLINE# tx = TxCommitMessage ( e ) #NEWLINE# tx . begin ( ) #NEWLINE# tx . prepare ( ) #NEWLINE# assert False #NEWLINE# #UNINDENT# except AttributeError as e : #NEWLINE# #INDENT# print ( str ( e ) ) #NEWLINE# assert True