#NEWLINE# def test_path_hydration_without_directions( self ) : #NEWLINE# #INDENT# a = Node ( ) #NEWLINE# b = Node ( ) #NEWLINE# c = Node ( ) #NEWLINE# ab = Relationship ( a , 'KNOWS' , b ) #NEWLINE# cb = Relationship ( c , 'KNOWS' , b ) #NEWLINE# path = Path ( a , ab , b , cb , c ) #NEWLINE# self . graph . create ( path ) #NEWLINE# dehydrated = { #NEWLINE# #INDENT# 'nodes' : [ remote ( a ) . uri . string , remote ( b ) . uri . string , remote ( c ) . uri . string ] , #NEWLINE# 'relationships' : [ remote ( ab ) . uri . string , remote ( cb ) . uri . string ] , #NEWLINE# #UNINDENT# } #NEWLINE# hydrated = self . graph . _hydrate ( dehydrated ) #NEWLINE# assert isinstance ( hydrated , Path )