The heat_integrationtests.common.test
Module¶
-
class
heat_integrationtests.common.test.
HeatIntegrationTest
(*args, **kwargs)[source]¶ Bases:
testscenarios.testcase.WithScenarios
,testtools.testcase.TestCase
-
preview_update_stack
(stack_identifier, template, environment=None, files=None, parameters=None, tags=None, disable_rollback=True, show_nested=False)[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]¶
-
-
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.