test_common.py 文件源码

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

项目:cli 作者: sparkl 项目源码 文件源码
def test_set_state(self):
        self.args.session = os.getppid()
        state = {
            "connections": {
                "foo": {
                    "url": "some url"}}}
        common.set_state(self.args, state)
        result = common.get_state(self.args)
        assert state == result
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号