#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( NodeMatchTestCase , self ) . setUp ( ) #NEWLINE# a = Node ( name = 'Alice' ) #NEWLINE# b = Node ( name = 'Bob' ) #NEWLINE# c = Node ( name = 'Carol' ) #NEWLINE# d = Node ( name = 'Dave' ) #NEWLINE# e = Node ( name = 'Eve' ) #NEWLINE# self . graph . create ( ( ( ( ( a | b ) | c ) | d ) | e ) ) #NEWLINE# rels = ( Relationship ( a , 'LOVES' , b ) , Relationship ( b , 'LOVES' , a ) , Relationship ( b , 'KNOWS' , c ) , Relationship ( b , 'KNOWS' , d ) , Relationship ( d , 'LOVES' , e ) ) #NEWLINE# self . graph . create ( ( ( ( ( rels [ 0 ] | rels [ 1 ] ) | rels [ 2 ] ) | rels [ 3 ] ) | rels [ 4 ] ) ) #NEWLINE# self . sample_graph = ( a , b , c , d , e , rels )