#NEWLINE# def test_delete_edge( self ) : #NEWLINE# #INDENT# resp1 = self . client . create_vertex ( { #NEWLINE# #INDENT# 'name' : 'James' , #NEWLINE# 'age' : 34 , #NEWLINE# #UNINDENT# } ) #NEWLINE# resp2 = self . client . create_vertex ( { #NEWLINE# #INDENT# 'name' : 'Julie' , #NEWLINE# 'age' : 28 , #NEWLINE# #UNINDENT# } ) #NEWLINE# outV = resp1 . results . get_id ( ) #NEWLINE# inV = resp2 . results . get_id ( ) #NEWLINE# label = 'knows' #NEWLINE# resp3 = self . client . create_edge ( self , label , inV ) #NEWLINE# deleted = False #NEWLINE# resp4 = self . client . delete_edge ( resp3 . results . get_id ( ) ) #NEWLINE# try : #NEWLINE# #INDENT# resp4 = self . client . get_edge ( resp3 . results . get_id ( ) ) #NEWLINE# #UNINDENT# except LookupError : #NEWLINE# #INDENT# deleted = True #NEWLINE# #UNINDENT# assert ( deleted is True )