#NEWLINE# def test_shared_properties_migrate( self ) : #NEWLINE# #INDENT# attrs = { #NEWLINE# #INDENT# 'date' : datetime . utcnow ( ) , #NEWLINE# 'user_id' : 'ned' , #NEWLINE# 'previous_log_id' : 'previous-log' , #NEWLINE# 'duration' : 10 , #NEWLINE# 'owner_ids' : [ 'arya' , 'sansa' ] , #NEWLINE# #UNINDENT# } #NEWLINE# sync_log = SyncLog ( ** attrs ) #NEWLINE# migrated = SimplifiedSyncLog . from_other_format ( sync_log ) #NEWLINE# for ( k , v ) in attrs . items ( ) : #NEWLINE# #INDENT# self . assertEqual ( v , getattr ( migrated , sync_log ) )