test_gamecenter.py 文件源码

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

项目:drift 作者: dgnorth 项目源码 文件源码
def test_broken_cert(self):
        # Verify that broken certs fail.
        with self.assertRaises(Unauthorized) as context:
            t = template.copy()
            t['public_key_url'] = 'broken cert'
            validate_gamecenter_token(t)
        self.assertIn("Can't load certificate", context.exception.description)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号