def test_execute_action_only_no_arguments_valid_data_with_conversion_inverted( self): self.assertFalse( Condition('HelloWorld', 'Top Condition', is_negated=True).execute(LocalActionExecutionStrategy(), '3.4', {}))
def test_execute_action_only_no_arguments_invalid_data(self): self.assertFalse( Condition('HelloWorld', 'Top Condition').execute(LocalActionExecutionStrategy(), 'invalid', {}))
def test_get_branch_no_branches(self): workflow = Workflow('test', 1) wf_ctx = WorkflowExecutionContext(workflow, {}, None, None) self.assertIsNone( Executor.get_branch(wf_ctx, LocalActionExecutionStrategy()))