The heat.tests.test_waitcondition Module

class heat.tests.test_waitcondition.WaitConditionHandleTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

create_stack(stack_name='test_stack2', params={})[source]
setUp()[source]
speed = 'fast'
tag = ['unit', 'resource', 'WaitConditionHandle']
tearDown()[source]
test_get_status(test_cls)[source]
test_get_status_reason(test_cls)[source]
test_handle(test_cls)[source]
test_metadata_update(test_cls)[source]
test_metadata_update_invalid(test_cls)[source]
class heat.tests.test_waitcondition.WaitConditionTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

create_stack(stack_name='test_stack', template='n{n "AWSTemplateFormatVersion" : "2010-09-09", n "Description" : "Just a WaitCondition.", n "Parameters" : {}, n "Resources" : {n "WaitHandle" : {n "Type" : "AWS::CloudFormation::WaitConditionHandle"n }, n "WaitForTheHandle" : {n "Type" : "AWS::CloudFormation::WaitCondition", n "Properties" : {n "Handle" : {"Ref" : "WaitHandle"}, n "Timeout" : "5"n }n }n }n}n', params={}, stub=True)[source]
setUp()[source]
speed = 'slow'
tag = ['unit', 'resource', 'WaitCondition']
tearDown()[source]
test_FnGetAtt(test_cls)[source]
test_post_failure_to_handle(test_cls)[source]
test_post_failure_to_handle_count(test_cls)[source]
test_post_success_to_handle(test_cls)[source]
test_post_success_to_handle_count(test_cls)[source]
test_timeout(test_cls)[source]
test_validate_handle_url_bad_resource(test_cls)[source]
test_validate_handle_url_bad_resource_type(test_cls)[source]
test_validate_handle_url_bad_stackid(test_cls)[source]
test_validate_handle_url_bad_stackname(test_cls)[source]
test_validate_handle_url_bad_tenant(test_cls)[source]

This Page