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
()¶
-
classmethod
-
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
()¶
-
-
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_update
()¶
-
-
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_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_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_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_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_actions_list
()¶
-
test_cron_trigger_list
()¶
-
test_environments_list
()¶
-
test_executions_list
()¶
-
test_tasks_list
()¶
-
test_workbooks_list
()¶
-
test_workflow_list
()¶
-
classmethod
-
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_list_with_filter
()¶
-
-
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_get
()¶
-
test_workbook_get_definition
()¶
-
test_workbook_update
()¶
-
test_workbook_validate_with_invalid_def
()¶
-
test_workbook_validate_with_valid_def
()¶
-
classmethod
-
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_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_validate_with_invalid_def
()¶
-
test_workflow_validate_with_valid_def
()¶
-
classmethod