Django項目test中的mock概述

Django項目test中的mock概述 本文環境python3.5.2 test中的mock實現 接口示例代碼以下;python ... # 路由配置 ('^api/business_application/?$', TestAPI.as_view()), ... # 接口函數 app_name.apis.py from rest_framework.generics import
相關文章
相關標籤/搜索