The mistralclient.tests.functional.cli.v2.cli_tests_v2 Module

The mistralclient.tests.functional.cli.v2.cli_tests_v2 Module

class mistralclient.tests.functional.cli.v2.cli_tests_v2.ActionCLITests(*args, **kwargs)

Bases: mistralclient.tests.functional.cli.v2.base_v2.MistralClientTestBase

Test suite checks commands to work with actions.

classmethod setUpClass()
test_action_create_delete()
test_action_get_definition()
test_action_get_with_id()
test_action_list_with_filter()
test_action_update()
test_action_update_truncate_input()
test_action_update_with_id()
class mistralclient.tests.functional.cli.v2.cli_tests_v2.ActionExecutionCLITests(*args, **kwargs)

Bases: mistralclient.tests.functional.cli.v2.base_v2.MistralClientTestBase

Test suite checks commands to work with action executions.

setUp()
test_act_execution_create_delete()
test_act_execution_get()
test_act_execution_get_list_within_namespace()
test_act_execution_list_with_limit()
class mistralclient.tests.functional.cli.v2.cli_tests_v2.CronTriggerCLITests(*args, **kwargs)

Bases: mistralclient.tests.functional.cli.v2.base_v2.MistralClientTestBase

Test suite checks commands to work with cron-triggers.

setUp()
classmethod setUpClass()
test_cron_trigger_create_delete()
test_cron_trigger_get()
test_two_cron_triggers_for_one_wf()
class mistralclient.tests.functional.cli.v2.cli_tests_v2.EnvironmentCLITests(*args, **kwargs)

Bases: mistralclient.tests.functional.cli.v2.base_v2.MistralClientTestBase

Test suite checks commands to work with environments.

setUp()
test_environment_create()
test_environment_create_without_description()
test_environment_get()
test_environment_get_export()
test_environment_update()
class mistralclient.tests.functional.cli.v2.cli_tests_v2.EventTriggerCLITests(*args, **kwargs)

Bases: mistralclient.tests.functional.cli.v2.base_v2.MistralClientTestBase

Test suite checks commands to work with event-triggers.

setUp()
classmethod setUpClass()
test_event_trigger_create_delete()
test_event_trigger_get()
test_two_event_triggers_for_one_wf()
class mistralclient.tests.functional.cli.v2.cli_tests_v2.ExecutionCLITests(*args, **kwargs)

Bases: mistralclient.tests.functional.cli.v2.base_v2.MistralClientTestBase

Test suite checks commands to work with executions.

setUp()
classmethod setUpClass()
test_execution_by_id_of_workflow_within_namespace()
test_execution_create_delete()
test_execution_create_with_input_and_start_task()
test_execution_get()
test_execution_get_input()
test_execution_get_output()
test_execution_list_with_filter()
test_execution_update()
test_execution_within_namespace_create_delete()
test_executions_list_with_pagination()
test_executions_list_with_task()
class mistralclient.tests.functional.cli.v2.cli_tests_v2.NegativeCLITests(*args, **kwargs)

Bases: mistralclient.tests.functional.cli.v2.base_v2.MistralClientTestBase

This class contains negative tests.

test_action_create_invalid_def()
test_action_create_without_def()
test_action_delete_nonexistent_act()
test_action_delete_standard_action()
test_action_double_creation()
test_action_execution_get_unexistent_obj()
test_action_execution_get_without_params()
test_action_execution_update()
test_action_get_definition_nonexistent_action()
test_action_get_nonexistent()
test_env_create_empty()
test_env_create_same_name()
test_env_create_with_wrong_path_to_definition()
test_env_create_without_name()
test_env_create_without_variables()
test_env_delete_unexist_env()
test_env_get_nonexistent()
test_env_get_without_param()
test_env_update_empty()
test_env_update_nonexistant_env()
test_env_update_wrong_path_to_def()
test_event_tr_create_missing_argument()
test_event_tr_create_nonexistent_wf()
test_event_tr_delete_nonexistent_tr()
test_event_tr_get_nonexistent_tr()
test_ex_create_missed_input()
test_ex_create_reverse_wf_without_start_task()
test_ex_create_unexist_task()
test_ex_create_unexist_wf()
test_ex_create_with_invalid_input()
test_ex_create_without_wf_name()
test_ex_delete_nonexistent_execution()
test_ex_get_nonexist_execution()
test_ex_list_extra_param()
test_ex_update_both_state_and_description()
test_target_action_execution()
test_task_get_nonexistent_task()
test_tr_create_count_only()
test_tr_create_date_and_count_without_pattern()
test_tr_create_invalid_count()
test_tr_create_invalid_first_date()
test_tr_create_invalid_pattern()
test_tr_create_invalid_pattern_value_out_of_range()
test_tr_create_negative_count()
test_tr_create_nonexistent_wf()
test_tr_create_without_pattern()
test_tr_delete_nonexistant_tr()
test_tr_get_nonexistant_tr()
test_wb_create_empty_def()
test_wb_create_invalid_def()
test_wb_create_same_name()
test_wb_create_with_wrong_path_to_definition()
test_wb_delete_unexist_wb()
test_wb_get_definition_unexist_wb()
test_wb_get_unexist_wb()
test_wb_get_without_param()
test_wb_list_extra_param()
test_wb_update_empty_def()
test_wb_update_invalid_def()
test_wb_update_nonexistant_wb()
test_wb_update_without_def()
test_wb_update_wrong_path_to_def()
test_wf_create_empty_def()
test_wf_create_invalid_def()
test_wf_create_with_wrong_path_to_definition()
test_wf_create_without_definition()
test_wf_delete_unexist_wf()
test_wf_get_definition_missed_param()
test_wf_get_definition_unexist_wf()
test_wf_get_unexist_wf()
test_wf_get_without_param()
test_wf_list_extra_param()
test_wf_update_empty_def()
test_wf_update_invalid_def()
test_wf_update_unexist_wf()
class mistralclient.tests.functional.cli.v2.cli_tests_v2.SimpleMistralCLITests(*args, **kwargs)

Bases: mistralclient.tests.functional.cli.base.MistralCLIAuth

Basic tests, check ‘-list’, ‘-help’ commands.

classmethod setUpClass()
test_action_execution_list()
test_action_execution_list_with_limit()
test_actions_list()
test_cron_trigger_list()
test_environments_list()
test_event_trigger_list()
test_executions_list()
test_tasks_list()
test_workbooks_list()
test_workflow_list()
class mistralclient.tests.functional.cli.v2.cli_tests_v2.TaskCLITests(*args, **kwargs)

Bases: mistralclient.tests.functional.cli.v2.base_v2.MistralClientTestBase

Test suite checks commands to work with tasks.

setUp()
test_task_get()
test_task_get_list_within_namespace()
test_task_list_with_filter()
test_task_list_with_limit()
class mistralclient.tests.functional.cli.v2.cli_tests_v2.WorkbookCLITests(*args, **kwargs)

Bases: mistralclient.tests.functional.cli.v2.base_v2.MistralClientTestBase

Test suite checks commands to work with workbooks.

classmethod setUpClass()
test_workbook_create_delete()
test_workbook_create_with_tags()
test_workbook_get()
test_workbook_get_definition()
test_workbook_update()
test_workbook_validate_with_invalid_def()
test_workbook_validate_with_valid_def()
class mistralclient.tests.functional.cli.v2.cli_tests_v2.WorkflowCLITests(*args, **kwargs)

Bases: mistralclient.tests.functional.cli.v2.base_v2.MistralClientTestBase

Test suite checks commands to work with workflows.

classmethod setUpClass()
test_create_wf_with_tags()
test_workflow_create_delete()
test_workflow_get()
test_workflow_get_definition()
test_workflow_get_with_id()
test_workflow_list_with_filter()
test_workflow_update()
test_workflow_update_truncate_input()
test_workflow_update_within_namespace()
test_workflow_validate_with_invalid_def()
test_workflow_validate_with_valid_def()
test_workflow_within_namespace_create_delete()
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

python-mistralclient 3.3.1.dev4