コード例 #1
0
def image_api():
    image_api = ImageDownloadApi()

    image_api.retrieve_file_over_http = \
        MagicMock(name='retrieve_file_over_http')

    return image_api
コード例 #2
0
def image_api():
    image_api = ImageDownloadApi()
    
    image_api.retrieve_file_over_http = \
        MagicMock(name='retrieve_file_over_http')
    
    return image_api
コード例 #3
0
def image_api():
    image_api = ImageDownloadApi()

    image_api.retrieve_file_over_http = \
        MagicMock(name='retrieve_file_over_http')
    image_api.json_msg_query = MagicMock(name='json_msg_query')

    return image_api
コード例 #4
0
def image_api():
    image_api = ImageDownloadApi()

    image_api.retrieve_file_over_http = \
        MagicMock(name='retrieve_file_over_http')
    image_api.json_msg_query = MagicMock(name='json_msg_query')

    return image_api