#NEWLINE# def test_move_persistent_dirty( self ) : #NEWLINE# #INDENT# ( sess , u1 ) = self . _persistent_fixture ( ) #NEWLINE# u1 . name = 'edchanged' #NEWLINE# self . _assert_cycle ( u1 ) #NEWLINE# self . _assert_modified ( u1 ) #NEWLINE# sess . close ( ) #NEWLINE# self . _assert_no_cycle ( sess ) #NEWLINE# s2 = Session ( ) #NEWLINE# s2 . add ( u1 ) #NEWLINE# self . _assert_cycle ( u1 ) #NEWLINE# self . _assert_modified ( u1 )