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))
评论列表
文章目录