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")
test_fortiosapi_virsh.py 文件源码
python
阅读 16
收藏 0
点赞 0
评论 0
评论列表
文章目录