The heat.tests.test_common_policy Module

class heat.tests.test_common_policy.TestPolicyEnforcer(methodName='runTest')[source]

Bases: unittest.case.TestCase

cfn_actions = ('ListStacks', 'CreateStack', 'DescribeStacks', 'DeleteStack', 'UpdateStack', 'DescribeStackEvents', 'ValidateTemplate', 'GetTemplate', 'EstimateTemplateCost', 'DescribeStackResource', 'DescribeStackResources')
cw_actions = ('DeleteAlarms', 'DescribeAlarmHistory', 'DescribeAlarms', 'DescribeAlarmsForMetric', 'DisableAlarmActions', 'EnableAlarmActions', 'GetMetricStatistics', 'ListMetrics', 'PutMetricAlarm', 'PutMetricData', 'SetAlarmState')
setUp()[source]
speed = 'fast'
tag = ['unit', 'common-policy', 'Enforcer']
tearDown()[source]
test_policy_cfn_allow_non_stack_user()[source]
test_policy_cfn_default()[source]
test_policy_cfn_deny_stack_user()[source]
test_policy_cfn_notallowed()[source]
test_policy_cw_allow_non_stack_user()[source]
test_policy_cw_deny_stack_user()[source]

This Page