#NEWLINE# def test_migrate_live_missing_dict_param( self ) : #NEWLINE# #INDENT# body = self . _get_migration_body ( host = 'hostname' ) #NEWLINE# del body [ 'os-migrateLive' ] [ 'host' ] #NEWLINE# body [ 'os-migrateLive' ] [ 'dummy' ] = 'hostname' #NEWLINE# self . assertRaises ( self . validation_error , self . controller . _migrate_live , self . req , fakes . FAKE_UUID , body = body )