test_exception.py 文件源码

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

项目:masakari 作者: openstack 项目源码 文件源码
def test_instantiate_without_title_known_code(self):
        exc = exception.ConvertedException(int(http.INTERNAL_SERVER_ERROR))
        self.assertEqual(exc.title, status_reasons[http.INTERNAL_SERVER_ERROR])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号