test_fortiosapi_virsh.py 文件源码

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

项目:fortiosapi 作者: fortinet-solutions-cse 项目源码 文件源码
def test_02getsystemglobal(self):
        resp = fgt.get('system','global', vdom="global")
        fortiversion = resp['version']
        self.assertEqual(resp['status'], 'success')

    #should put a test on version to disable if less than 5.6 don't work decoration 
    #@unittest.skipIf(Version(fgt.get_version()) < Version('5.6'),
    #                 "not supported with fortios before 5.6")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号