#NEWLINE# def test_from_legacy_dict_migration( self ) : #NEWLINE# #INDENT# migration = objects . Migration ( ) #NEWLINE# obj = migrate_data . LiveMigrateData ( ) #NEWLINE# obj . from_legacy_dict ( { #NEWLINE# #INDENT# 'is_volume_backed' : False , #NEWLINE# 'ignore' : 'foo' , #NEWLINE# 'migration' : migration , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertFalse ( migration . is_volume_backed ) #NEWLINE# self . assertIsInstance ( obj . migration , objects . Migration )