test_check_docker.py 文件源码

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

项目:check_docker 作者: timdaman 项目源码 文件源码
def test_socketfile_failure_unreadable(self):
        self.fs.CreateFile('/tmp/unreadable', contents='', st_mode=(stat.S_IFSOCK | 0o000))
        args = ('--status', 'running', '--connection', '/tmp/unreadable')
        result = check_docker.process_args(args=args)
        self.assertTrue(check_docker.socketfile_permissions_failure(parsed_args=result))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号