test_check_swarm.py 文件源码

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

项目:check_docker 作者: timdaman 项目源码 文件源码
def test_socketfile_failure_http(self):
        self.fs.CreateFile('/tmp/http', contents='', st_mode=(stat.S_IFSOCK | 0o000))
        args = ('--swarm', '--connection', 'http://127.0.0.1')
        result = check_swarm.process_args(args=args)
        self.assertFalse(check_swarm.socketfile_permissions_failure(parsed_args=result))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号