mistral.tests.unit.workbook.v2 package

Submodules

mistral.tests.unit.workbook.v2.base module

class mistral.tests.unit.workbook.v2.base.WorkbookSpecValidationTestCase(*args, **kwargs)

Bases: mistral.tests.unit.workbook.v2.base.WorkflowSpecValidationTestCase

class mistral.tests.unit.workbook.v2.base.WorkflowSpecValidationTestCase(*args, **kwargs)

Bases: mistral.tests.unit.base.BaseTest

mistral.tests.unit.workbook.v2.test_actions module

class mistral.tests.unit.workbook.v2.test_actions.ActionSpecValidation(*args, **kwargs)

Bases: mistral.tests.unit.workbook.v2.base.WorkbookSpecValidationTestCase

test_base()
test_base_input()
test_base_required()
test_input()
test_output()

mistral.tests.unit.workbook.v2.test_tasks module

class mistral.tests.unit.workbook.v2.test_tasks.TaskSpecValidation(*args, **kwargs)

Bases: mistral.tests.unit.workbook.v2.base.WorkflowSpecValidationTestCase

test_action_or_workflow()
test_direct_transition()
test_inputs()
test_join()
test_keep_result()
test_policies()
test_publish()
test_requires()
test_type_injection()
test_with_items()

mistral.tests.unit.workbook.v2.test_workbook module

class mistral.tests.unit.workbook.v2.test_workbook.WorkbookSpecValidation(*args, **kwargs)

Bases: mistral.tests.unit.workbook.v2.base.WorkbookSpecValidationTestCase

test_actions()
test_adhoc_action_with_base_in_one_string()
test_build_valid_workbook_spec()
test_description()
test_name()
test_name_regex()
test_name_required()
test_spec_to_dict()
test_tags()
test_version()
test_version_required()
test_workflow_name_validation()
test_workflows()

mistral.tests.unit.workbook.v2.test_workflows module

class mistral.tests.unit.workbook.v2.test_workflows.WorkflowSpecValidation(*args, **kwargs)

Bases: mistral.tests.unit.workbook.v2.base.WorkflowSpecValidationTestCase

test_direct_workflow()
test_direct_workflow_invalid_join()
test_direct_workflow_invalid_task()
test_direct_workflow_no_start_tasks()
test_inputs()
test_invalid_item()
test_invalid_name()
test_outputs()
test_reverse_workflow()
test_reverse_workflow_invalid_task()
test_task_defaults()
test_tasks()
test_tasks_required()
test_vars()
test_version()
test_version_required()
test_workflow_types()

Module contents