mistral.tests.unit package¶
Subpackages¶
- mistral.tests.unit.actions package
- Subpackages
- Submodules
- mistral.tests.unit.actions.test_action_manager module
- mistral.tests.unit.actions.test_javascript_action module
- mistral.tests.unit.actions.test_std_echo_action module
- mistral.tests.unit.actions.test_std_email_action module
- mistral.tests.unit.actions.test_std_fail_action module
- mistral.tests.unit.actions.test_std_http_action module
- Module contents
- mistral.tests.unit.api package
- Subpackages
- mistral.tests.unit.api.v2 package
- Submodules
- mistral.tests.unit.api.v2.test_action_executions module
- mistral.tests.unit.api.v2.test_actions module
- mistral.tests.unit.api.v2.test_cron_triggers module
- mistral.tests.unit.api.v2.test_environment module
- mistral.tests.unit.api.v2.test_event_trigger module
- mistral.tests.unit.api.v2.test_executions module
- mistral.tests.unit.api.v2.test_keycloak_auth module
- mistral.tests.unit.api.v2.test_members module
- mistral.tests.unit.api.v2.test_root module
- mistral.tests.unit.api.v2.test_services module
- mistral.tests.unit.api.v2.test_tasks module
- mistral.tests.unit.api.v2.test_workbooks module
- mistral.tests.unit.api.v2.test_workflows module
- Module contents
- mistral.tests.unit.api.v2 package
- Submodules
- mistral.tests.unit.api.base module
- mistral.tests.unit.api.test_access_control module
- mistral.tests.unit.api.test_auth module
- mistral.tests.unit.api.test_cors_middleware module
- mistral.tests.unit.api.test_service module
- Module contents
- Subpackages
- mistral.tests.unit.db package
- mistral.tests.unit.engine package
- Subpackages
- mistral.tests.unit.engine.rpc_backend package
- Subpackages
- mistral.tests.unit.engine.rpc_backend.kombu package
- Submodules
- mistral.tests.unit.engine.rpc_backend.kombu.base module
- mistral.tests.unit.engine.rpc_backend.kombu.fake_kombu module
- mistral.tests.unit.engine.rpc_backend.kombu.test_kombu_client module
- mistral.tests.unit.engine.rpc_backend.kombu.test_kombu_listener module
- mistral.tests.unit.engine.rpc_backend.kombu.test_kombu_server module
- Module contents
- mistral.tests.unit.engine.rpc_backend.kombu package
- Module contents
- Subpackages
- mistral.tests.unit.engine.rpc_backend package
- Submodules
- mistral.tests.unit.engine.base module
- mistral.tests.unit.engine.test_action_context module
- mistral.tests.unit.engine.test_action_defaults module
- mistral.tests.unit.engine.test_adhoc_actions module
- mistral.tests.unit.engine.test_commands module
- mistral.tests.unit.engine.test_cron_trigger module
- mistral.tests.unit.engine.test_dataflow module
- mistral.tests.unit.engine.test_default_engine module
- mistral.tests.unit.engine.test_direct_workflow module
- mistral.tests.unit.engine.test_direct_workflow_rerun module
- mistral.tests.unit.engine.test_direct_workflow_rerun_cancelled module
- mistral.tests.unit.engine.test_direct_workflow_with_cycles module
- mistral.tests.unit.engine.test_environment module
- mistral.tests.unit.engine.test_error_handling module
- mistral.tests.unit.engine.test_error_result module
- mistral.tests.unit.engine.test_execution_fields_size_limitation module
- mistral.tests.unit.engine.test_javascript_action module
- mistral.tests.unit.engine.test_join module
- mistral.tests.unit.engine.test_lookup_utils module
- mistral.tests.unit.engine.test_noop_task module
- mistral.tests.unit.engine.test_policies module
- mistral.tests.unit.engine.test_profiler module
- mistral.tests.unit.engine.test_race_condition module
- mistral.tests.unit.engine.test_reverse_workflow module
- mistral.tests.unit.engine.test_reverse_workflow_rerun module
- mistral.tests.unit.engine.test_reverse_workflow_rerun_cancelled module
- mistral.tests.unit.engine.test_run_action module
- mistral.tests.unit.engine.test_safe_rerun module
- mistral.tests.unit.engine.test_state_info module
- mistral.tests.unit.engine.test_subworkflows module
- mistral.tests.unit.engine.test_task_cancel module
- mistral.tests.unit.engine.test_task_defaults module
- mistral.tests.unit.engine.test_task_publish module
- mistral.tests.unit.engine.test_tasks_function module
- mistral.tests.unit.engine.test_with_items module
- mistral.tests.unit.engine.test_with_items_task module
- mistral.tests.unit.engine.test_workflow_cancel module
- mistral.tests.unit.engine.test_workflow_resume module
- mistral.tests.unit.engine.test_workflow_stop module
- mistral.tests.unit.engine.test_workflow_variables module
- mistral.tests.unit.engine.test_yaql_functions module
- Module contents
- Subpackages
- mistral.tests.unit.hacking package
- mistral.tests.unit.mstrlfixtures package
- mistral.tests.unit.services package
- Submodules
- mistral.tests.unit.services.test_action_manager module
- mistral.tests.unit.services.test_action_service module
- mistral.tests.unit.services.test_event_engine module
- mistral.tests.unit.services.test_expired_executions_policy module
- mistral.tests.unit.services.test_scheduler module
- mistral.tests.unit.services.test_trigger_service module
- mistral.tests.unit.services.test_workbook_service module
- mistral.tests.unit.services.test_workflow_service module
- Module contents
- mistral.tests.unit.utils package
- mistral.tests.unit.workbook package
- mistral.tests.unit.workflow package
Submodules¶
mistral.tests.unit.base module¶
-
class
mistral.tests.unit.base.
BaseTest
(*args, **kwds)¶ Bases:
oslotest.base.BaseTestCase
-
assertDictEqual
(cmp1, cmp2)¶
-
assertListEqual
(l1, l2)¶
-
override_config
(name, override, group=None)¶ Cleanly override CONF variables.
-
register_action_class
(name, cls, attributes=None, desc=None)¶
-
setUp
()¶
-
-
class
mistral.tests.unit.base.
DbTestCase
(*args, **kwds)¶ Bases:
mistral.tests.unit.base.BaseTest
-
classmethod
heavy_init
()¶ Runs a long initialization.
This method runs long initialization once by class and can be extended by child classes.
-
is_db_session_open
()¶
-
setUp
()¶
-
classmethod
mistral.tests.unit.config module¶
mistral.tests.unit.fake_policy module¶
mistral.tests.unit.test_command_dispatcher module¶
-
class
mistral.tests.unit.test_command_dispatcher.
CommandDispatcherTest
(*args, **kwds)¶ Bases:
mistral.tests.unit.base.BaseTest
-
setUp
()¶
-
test_rearrange_commands
()¶
-
mistral.tests.unit.test_coordination module¶
-
class
mistral.tests.unit.test_coordination.
ServiceCoordinatorTest
(*args, **kwds)¶ Bases:
mistral.tests.unit.base.BaseTest
-
setUp
()¶
-
test_join_group_and_get_members
()¶
-
test_join_group_and_leave_group
()¶
-
test_join_group_not_active
()¶
-
test_start
()¶
-
test_start_without_backend
()¶
-
test_stop
()¶
-
test_stop_not_active
()¶
-
-
class
mistral.tests.unit.test_coordination.
ServiceTest
(*args, **kwds)¶ Bases:
mistral.tests.unit.base.BaseTest
-
setUp
()¶
-
test_register_membership
(*args, **keywargs)¶
-
mistral.tests.unit.test_exception_base module¶
mistral.tests.unit.test_expressions module¶
-
class
mistral.tests.unit.test_expressions.
ExpressionsTest
(*args, **kwds)¶ Bases:
mistral.tests.unit.base.BaseTest
-
test_evaluate_complex_expressions
()¶
-
test_evaluate_mixing_jinja_and_yaql
()¶
-
test_evaluate_recursively
()¶
-
test_evaluate_recursively_arbitrary_dict
()¶
-
test_evaluate_recursively_environment
()¶
-
test_validate_jinja_with_yaql_context
()¶
-
test_validate_mixing_jinja_and_yaql
()¶
-
mistral.tests.unit.test_serialization module¶
-
class
mistral.tests.unit.test_serialization.
MyClass
(a, b)¶
-
class
mistral.tests.unit.test_serialization.
MyClassSerializer
¶ Bases:
mistral.serialization.DictBasedSerializer
-
deserialize_from_dict
(entity_dict)¶
-
serialize_to_dict
(entity)¶
-