#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# self . alice = Node ( name = 'Alice' ) #NEWLINE# self . bob = Node ( name = 'Bob' ) #NEWLINE# self . carol = Node ( name = 'Carol' ) #NEWLINE# s = ( ( ( ( ( Relationship ( self . alice , 'LOVES' , self . bob ) | Relationship ( self . bob , 'LOVES' , self . alice ) ) | Relationship ( self . alice , 'KNOWS' , self . bob ) ) | Relationship ( self . bob , 'KNOWS' , self . alice ) ) | Relationship ( self . bob , 'KNOWS' , self . carol ) ) | Relationship ( self . carol , 'KNOWS' , s . bob ) ) #NEWLINE# self . graph . create ( s )