The heat_integrationtests.functional.test_notifications Module

class heat_integrationtests.functional.test_notifications.NotificationHandler(stack_id, events=None)[source]

Bases: object

clear()[source]
notifications
process_message(body, message)[source]
class heat_integrationtests.functional.test_notifications.NotificationTest(*args, **kwargs)[source]

Bases: heat_integrationtests.functional.functional_base.FunctionalTestsBase

asg_template = "\nheat_template_version: 2013-05-23\nresources:\n asg:\n type: OS::Heat::AutoScalingGroup\n properties:\n resource:\n type: OS::Heat::RandomString\n min_size: 1\n desired_capacity: 2\n max_size: 3\n\n scale_up_policy:\n type: OS::Heat::ScalingPolicy\n properties:\n adjustment_type: change_in_capacity\n auto_scaling_group_id: {get_resource: asg}\n cooldown: 0\n scaling_adjustment: 1\n\n scale_down_policy:\n type: OS::Heat::ScalingPolicy\n properties:\n adjustment_type: change_in_capacity\n auto_scaling_group_id: {get_resource: asg}\n cooldown: 0\n scaling_adjustment: '-1'\n\noutputs:\n scale_up_url:\n value: {get_attr: [scale_up_policy, alarm_url]}\n scale_dn_url:\n value: {get_attr: [scale_down_policy, alarm_url]}\n"
basic_template = '\nheat_template_version: 2013-05-23\nresources:\n random1:\n type: OS::Heat::RandomString\n'
consume_events(handler, count)[source]
setUp()[source]
test_asg_notifications()[source]
test_basic_notifications()[source]
update_basic_template = '\nheat_template_version: 2013-05-23\nresources:\n random1:\n type: OS::Heat::RandomString\n random2:\n type: OS::Heat::RandomString\n'
heat_integrationtests.functional.test_notifications.get_url(conf)[source]