#NEWLINE# def test_download_image( self ) : #NEWLINE# #INDENT# params = self . _get_download_params ( ) #NEWLINE# self . stubs . Set ( vm_utils , '_make_uuid_stack' , ( lambda * a , **kw : [ 'uuid1' ] ) ) #NEWLINE# self . mox . StubOutWithMock ( self . session , 'call_plugin_serialized' ) #NEWLINE# self . session . call_plugin_serialized ( 'glance' , 'download_vhd2' , ** params ) #NEWLINE# self . mox . ReplayAll ( ) #NEWLINE# self . store . download_image ( self . context , self . session , self . instance , 'fake_image_uuid' ) #NEWLINE# self . mox . VerifyAll ( )