test_kumo_viz.py 文件源码

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

项目:gcdt 作者: glomex 项目源码 文件源码
def test_analyze_sg():
    template_path = here(
        'resources/sample_kumo_viz/ELBStickinessSample.template')

    with open(template_path, 'r') as tfile:
        template = json.loads(tfile.read())

    known_sg, open_sg = _analyze_sg(template['Resources'])
    nose.tools.assert_in('InstanceSecurityGroup', known_sg)
    nose.tools.assert_in('InstanceSecurityGroup', open_sg)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号