#NEWLINE# def test_reload( self ) : #NEWLINE# #INDENT# " Tests that the reload method performs an inplace update of an instance's values " #NEWLINE# e1 = TestEdge . create ( self . v1 , self . v2 , numbers = 3 ) #NEWLINE# e2 = TestEdge . get_by_eid ( e1 . eid ) #NEWLINE# e2 . numbers = 5 #NEWLINE# e2 . save ( ) #NEWLINE# e1 . reload ( ) #NEWLINE# assert ( e2 . numbers == 5 )