__init__.py 文件源码

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

项目:skywise-insight-py 作者: wdtinc 项目源码 文件源码
def setUp(self):
        InsightResource.set_site('http://my.skywise.host')
        InsightResource.set_user('my-skywise-user')
        InsightResource.set_password('my-skywise-password')
        InsightResource.set_use_session_for_async(True)

        self.adapter = requests_mock.Adapter()
        session = InsightResource.get_session()
        session.mount('http://my.skywise.host', self.adapter)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号