#NEWLINE# def test_minimal_node_hydrate( self ) : #NEWLINE# #INDENT# dehydrated = { #NEWLINE# #INDENT# 'self' : 'http://localhost:7474/db/data/node/0' , #NEWLINE# #UNINDENT# } #NEWLINE# hydrated = Node . hydrate ( dehydrated ) #NEWLINE# assert isinstance ( hydrated , Node ) #NEWLINE# assert remote ( hydrated ) #NEWLINE# assert ( remote ( hydrated ) . uri == dehydrated [ 'self' ] )