#NEWLINE# def test_can_pull_node( self ) : #NEWLINE# #INDENT# alpha = Node ( 'Person' , name = 'Alice' ) #NEWLINE# beta = Node ( ) #NEWLINE# self . graph . create ( alpha ) #NEWLINE# assert ( set ( beta . labels ( ) ) == set ( ) ) #NEWLINE# assert ( dict ( beta ) == { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# beta . __remote__ = RemoteEntity ( remote ( alpha ) . uri ) #NEWLINE# beta . pull ( ) #NEWLINE# assert ( set ( beta . labels ( ) ) == set ( alpha . labels ( ) ) ) #NEWLINE# assert ( dict ( beta ) == dict ( alpha ) )