mistral.tests.unit.services package

Submodules

mistral.tests.unit.services.test_action_manager module

class mistral.tests.unit.services.test_action_manager.ActionManagerTest(*args, **kwds)

Bases: mistral.tests.unit.base.DbTestCase

test_action_description()
test_action_input()

mistral.tests.unit.services.test_action_service module

class mistral.tests.unit.services.test_action_service.ActionServiceTest(*args, **kwds)

Bases: mistral.tests.unit.base.DbTestCase

setUp()
test_create_actions()
test_update_actions()

mistral.tests.unit.services.test_event_engine module

class mistral.tests.unit.services.test_event_engine.EventEngineTest(*args, **kwds)

Bases: mistral.tests.unit.base.DbTestCase

setUp()
test_event_engine_start_with_no_triggers()
test_event_engine_start_with_triggers(*args, **keywargs)
test_process_event_queue(*args, **keywargs)
class mistral.tests.unit.services.test_event_engine.NotificationsConverterTest(*args, **kwds)

Bases: mistral.tests.unit.base.BaseTest

test_convert()
test_convert_event_type_not_defined()

mistral.tests.unit.services.test_expired_executions_policy module

class mistral.tests.unit.services.test_expired_executions_policy.ExpirationPolicyTest(*args, **kwds)

Bases: mistral.tests.unit.base.DbTestCase

tearDown()

Restores the size limit config to default.

test_expiration_policy_for_executions()
test_negative_wrong_conf_values()
test_periodic_task_parameters()

mistral.tests.unit.services.test_scheduler module

class mistral.tests.unit.services.test_scheduler.SchedulerServiceTest(*args, **kwds)

Bases: mistral.tests.unit.base.DbTestCase

setUp()
test_processing_true_does_not_return_in_get_delayed_calls_to_start(*args, **keywargs)
test_scheduler_call_target_method_with_correct_auth(*args, **keywargs)
test_scheduler_delete_calls(*args, **keywargs)
test_scheduler_doesnt_handle_calls_the_failed_on_update(*args, **keywargs)
test_scheduler_multi_instance(*args, **keywargs)
test_scheduler_with_factory(*args, **keywargs)
test_scheduler_with_serializer(*args, **keywargs)
test_scheduler_without_factory(*args, **keywargs)

mistral.tests.unit.services.test_trigger_service module

class mistral.tests.unit.services.test_trigger_service.TriggerServiceV2Test(*args, **kwds)

Bases: mistral.tests.unit.base.DbTestCase

setUp()
test_create_trust_in_trigger(*args, **keywargs)
test_get_trigger_in_correct_orders()
test_oneshot_trigger_create()
test_single_execution_with_multiple_processes(*args, **keywargs)
test_trigger_create()
test_trigger_create_the_same_first_time_or_count()
test_trigger_create_with_wf_id()
test_trigger_create_wrong_workflow_input()

mistral.tests.unit.services.test_workbook_service module

class mistral.tests.unit.services.test_workbook_service.WorkbookServiceTest(*args, **kwds)

Bases: mistral.tests.unit.base.DbTestCase

test_create_workbook()
test_update_workbook()

mistral.tests.unit.services.test_workflow_service module

class mistral.tests.unit.services.test_workflow_service.WorkflowServiceTest(*args, **kwds)

Bases: mistral.tests.unit.base.DbTestCase

test_create_workflows()
test_invalid_workflow_list()
test_update_non_existing_workflow_failed()
test_update_workflow_execution_env()
test_update_workflow_execution_env_wrong_state()
test_update_workflows()

Module contents