The heat.tests.test_security_group Module

class heat.tests.test_security_group.NovaSG

Bases: tuple

NovaSG(name, id, rules, description)

description

Alias for field number 3

id

Alias for field number 1

name

Alias for field number 0

rules

Alias for field number 2

class heat.tests.test_security_group.SecurityGroupTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

assertResourceState(resource, ref_id, metadata={})[source]
create_stack(template)[source]
parse_stack(t)[source]
setUp()[source]
speed = 'fast'
tag = ['unit', 'resource']
tearDown()[source]
test_security_group_nova()[source]
test_security_group_nova_exception()[source]
test_template_nova = "\nHeatTemplateFormatVersion: '2012-12-12'\nResources:\n the_sg:\n Type: AWS::EC2::SecurityGroup\n Properties:\n GroupDescription: HTTP and SSH access\n SecurityGroupIngress:\n - IpProtocol: tcp\n FromPort: 22\n ToPort: 22\n CidrIp: 0.0.0.0/0\n - IpProtocol: tcp\n FromPort : 80\n ToPort : 80\n CidrIp : 0.0.0.0/0\n"

This Page