test_views.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:cloudstrype 作者: btimby 项目源码 文件源码
def setUp(self):
        super().setUp()
        httpretty.register_uri(
            METHODS.get(self.oauth2_client.USER_PROFILE_URL[0]),
            self.oauth2_client.USER_PROFILE_URL[1],
            body=json.dumps(USER_PROFILE_BOX),
            content_type='application/json')
        httpretty.register_uri(httpretty.POST, self.oauth2_client.CREATE_URL,
                               body=json.dumps(CREATE_BOX),
                               content_type='application/json')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号