The heat.tests.test_api_openstack_v1 Module

class heat.tests.test_api_openstack_v1.ControllerTest(*args, **kwargs)[source]

Bases: object

Common utilities for testing API Controllers.

tearDown()[source]
class heat.tests.test_api_openstack_v1.EventControllerTest(*args, **kwargs)[source]

Bases: heat.tests.test_api_openstack_v1.ControllerTest, unittest.case.TestCase

Tests the API class which acts as the WSGI controller, the endpoint processing API requests after they are routed

setUp()[source]
speed = 'fast'
tag = ['unit', 'api-openstack-v1', 'EventController']
test_index_resource_nonexist()[source]
test_index_stack_nonexist()[source]
test_resource_index()[source]
test_show()[source]
test_show_bad_resource()[source]
test_show_nonexist()[source]
test_show_stack_nonexist()[source]
test_stack_index()[source]
class heat.tests.test_api_openstack_v1.InstantiationDataTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
speed = 'fast'
tag = ['unit', 'api-openstack-v1']
tearDown()[source]
test_args()[source]
test_format_parse()[source]
test_format_parse_invalid()[source]
test_stack_name()[source]
test_stack_name_missing()[source]
test_template_inline()[source]
test_template_missing()[source]
test_template_priority()[source]
test_template_string_json()[source]
test_template_string_yaml()[source]
test_template_url()[source]
test_user_params()[source]
test_user_params_missing()[source]
class heat.tests.test_api_openstack_v1.ResourceControllerTest(*args, **kwargs)[source]

Bases: heat.tests.test_api_openstack_v1.ControllerTest, unittest.case.TestCase

Tests the API class which acts as the WSGI controller, the endpoint processing API requests after they are routed

setUp()[source]
speed = 'fast'
tag = ['unit', 'api-openstack-v1', 'ResourceController']
test_index()[source]
test_index_nonexist()[source]
test_metadata_show()[source]
test_metadata_show_nonexist()[source]
test_metadata_show_nonexist_resource()[source]
test_show()[source]
test_show_nonexist()[source]
test_show_nonexist_resource()[source]
test_show_uncreated_resource()[source]
class heat.tests.test_api_openstack_v1.RoutesTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

assertRoute(mapper, path, method, action, controller, params={})[source]
setUp()[source]
test_events()[source]
test_resources()[source]
test_stack_collection()[source]
test_stack_data()[source]
test_stack_update_delete()[source]
test_template_handling()[source]
class heat.tests.test_api_openstack_v1.StackControllerTest(*args, **kwargs)[source]

Bases: heat.tests.test_api_openstack_v1.ControllerTest, unittest.case.TestCase

Tests the API class which acts as the WSGI controller, the endpoint processing API requests after they are routed

setUp()[source]
speed = 'fast'
tag = ['unit', 'api-openstack-v1', 'StackController']
test_create()[source]
test_create_err_engine()[source]
test_create_err_existing()[source]
test_create_err_rpcerr()[source]
test_delete()[source]
test_delete_bad_name()[source]
test_get_template()[source]
test_get_template_err_notfound()[source]
test_index()[source]
test_index_rmt_aterr()[source]
test_index_rmt_interr()[source]
test_list_resource_types()[source]
test_list_resource_types_error()[source]
test_lookup()[source]
test_lookup_arn()[source]
test_lookup_nonexistant()[source]
test_lookup_resource()[source]
test_lookup_resource_nonexistant()[source]
test_show()[source]
test_show_invalidtenant()[source]
test_show_notfound()[source]
test_update()[source]
test_update_bad_name()[source]
test_validate_template()[source]
test_validate_template_error()[source]

This Page