The heat_integrationtests.common.test Module

class heat_integrationtests.common.test.HeatIntegrationTest(*args, **kwargs)[source]

Bases: testscenarios.testcase.WithScenarios, testtools.testcase.TestCase

assert_resource_is_a_stack(stack_identifier, res_name, wait=False)[source]
assign_keypair()[source]
cancel_update_stack(stack_identifier, expected_status='ROLLBACK_COMPLETE')[source]
check_autoscale_complete(stack_id, expected_num)[source]
check_connectivity(check_ip)[source]
check_input_values(group_resources, key, value)[source]
create_keypair(client=None, name=None)[source]
get_remote_client(server_or_ip, username, private_key=None)[source]
get_resource_stack_id(r)[source]
group_nested_identifier(stack_identifier, group_name)[source]
is_network_extension_supported(extension_alias)[source]
list_group_resources(stack_identifier, group_name, minimal=True)[source]
list_resources(stack_identifier)[source]
preview_update_stack(stack_identifier, template, environment=None, files=None, parameters=None, tags=None, disable_rollback=True, show_nested=False)[source]
setUp()[source]
setup_clients(conf, admin_credentials=False)[source]
setup_clients_for_admin()[source]
signal_resources(resources)[source]
stack_abandon(stack_id)[source]
stack_adopt(stack_name=None, files=None, parameters=None, environment=None, adopt_data=None, wait_for_status='ADOPT_COMPLETE')[source]
stack_create(stack_name=None, template=None, files=None, parameters=None, environment=None, tags=None, expected_status='CREATE_COMPLETE', disable_rollback=True, enable_cleanup=True, environment_files=None)[source]
stack_restore(stack_id, snapshot_id, wait_for_status='RESTORE_COMPLETE')[source]
stack_resume(stack_identifier)[source]
stack_snapshot(stack_id, wait_for_status='SNAPSHOT_COMPLETE')[source]
stack_suspend(stack_identifier)[source]
update_stack(stack_identifier, template=None, environment=None, files=None, parameters=None, tags=None, expected_status='UPDATE_COMPLETE', disable_rollback=True, existing=False)[source]
verify_resource_status(stack_identifier, resource_name, status='CREATE_COMPLETE')[source]
wait_for_event_with_reason(stack_identifier, reason, rsrc_name=None, num_expected=1)[source]
heat_integrationtests.common.test.call_until_true(duration, sleep_for, func, *args, **kwargs)[source]

Call the function until it returns True or the duration elapsed.

Call the given function until it returns True (and return True) or until the specified duration (in seconds) elapses (and return False).

Parameters:
  • func – A zero argument callable that returns True on success.
  • duration – The number of seconds for which to attempt a successful call of the function.
  • sleep_for – The number of seconds to sleep after an unsuccessful invocation of the function.
heat_integrationtests.common.test.rand_name(name='')[source]

Previous topic

The heat_integrationtests.common.remote_client Module

Next topic

The heat_integrationtests.functional.functional_base Module

Project Source

This Page