The heat.tests.test_engine_service Module

class heat.tests.test_engine_service.DummyThreadGroup[source]

Bases: object

add_thread(callback, *args, **kwargs)[source]
add_timer(interval, callback, initial_delay=None, *args, **kwargs)[source]
stop()[source]
wait()[source]
heat.tests.test_engine_service.create_context(mocks, user='stacks_test_user', tenant='test_admin', ctx=None)[source]
heat.tests.test_engine_service.get_wordpress_stack(stack_name, ctx)[source]
heat.tests.test_engine_service.setup_mocks(mocks, stack)[source]
class heat.tests.test_engine_service.stackCreateTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
speed = 'slow'
tag = ['unit', 'stack']
tearDown()[source]
test_wordpress_single_instance_stack_create()[source]
test_wordpress_single_instance_stack_delete()[source]
class heat.tests.test_engine_service.stackServiceCreateUpdateDeleteTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
speed = 'fast'
tag = ['unit', 'engine-api', 'engine-service']
tearDown()[source]
test_stack_create()[source]
test_stack_create_invalid_resource_name()[source]
test_stack_create_invalid_stack_name()[source]
test_stack_create_verify_err()[source]
test_stack_delete()[source]
test_stack_delete_nonexist()[source]
test_stack_update()[source]
test_stack_update_nonexist()[source]
test_stack_update_verify_err()[source]
test_stack_validate()[source]
class heat.tests.test_engine_service.stackServiceTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
classmethod setUpClass()[source]
speed = 'fast'
tag = ['unit', 'engine-api', 'engine-service']
tearDown()[source]
classmethod tearDownClass()[source]
test_find_physical_resource()[source]
test_find_physical_resource_nonexist()[source]
test_list_resource_types()[source]
test_metadata()[source]
test_metadata_err_resource()[source]
test_metadata_err_stack()[source]
test_set_watch_state()[source]
test_set_watch_state_badstate()[source]
test_set_watch_state_noexist()[source]
test_show_watch()[source]
test_show_watch_metric()[source]
test_stack_authorize_stack_user_attribute_error()[source]
test_stack_authorize_stack_user_nocreds()[source]
test_stack_authorize_stack_user_type_error()[source]
test_stack_by_name_tenants()[source]
test_stack_create_existing()[source]
test_stack_describe()[source]
test_stack_describe_all()[source]
test_stack_describe_all_empty()[source]
test_stack_describe_bad_tenant()[source]
test_stack_describe_nonexistent()[source]
test_stack_event_list()[source]
test_stack_identify()[source]
test_stack_identify_nonexist()[source]
test_stack_identify_uuid()[source]
test_stack_list_all()[source]
test_stack_list_all_empty()[source]
test_stack_resource_describe()[source]
test_stack_resource_describe_nonexist_resource()[source]
test_stack_resource_describe_nonexist_stack()[source]
test_stack_resource_describe_stack_user_deny()[source]
test_stack_resources_describe()[source]
test_stack_resources_describe_bad_lookup()[source]
test_stack_resources_describe_no_filter()[source]
test_stack_resources_describe_nonexist_stack()[source]
test_stack_resources_list()[source]
test_stack_resources_list_nonexist_stack()[source]

This Page