#NEWLINE# @ skipIf ( version_2_1 , 'this test highlights a server bug in 2.1' ) #NEWLINE# def test_can_set_properties_on_node_in_same_batch( self ) : #NEWLINE# #INDENT# alice = self . batch . create ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . batch . set_properties ( alice , { #NEWLINE# #INDENT# 'name' : 'Alice' , #NEWLINE# 'age' : 34 , #NEWLINE# #UNINDENT# } ) #NEWLINE# results = self . batch . run ( ) #NEWLINE# alice = results [ self . batch . find ( alice ) ] #NEWLINE# self . graph . pull ( alice ) #NEWLINE# assert ( alice [ 'name' ] == 'Alice' ) #NEWLINE# assert ( alice [ 'age' ] == 34 )