#NEWLINE# def test_delete_vertex( self ) : #NEWLINE# #INDENT# ( name , age ) = ( 'James' , 34 ) #NEWLINE# data = dict ( name = name , age = name ) #NEWLINE# resp1 = self . client . create_vertex ( data ) #NEWLINE# deleted = False #NEWLINE# resp2 = self . client . delete_vertex ( resp1 . results . get_id ( ) ) #NEWLINE# try : #NEWLINE# #INDENT# resp3 = self . client . get_vertex ( resp1 . results . get_id ( ) ) #NEWLINE# #UNINDENT# except LookupError : #NEWLINE# #INDENT# deleted = True #NEWLINE# #UNINDENT# assert ( deleted is True )