optimize: code node has a bad error message (#3949)
This commit is contained in:
parent
ff67a6d338
commit
e7b4d024ee
2 changed files with 9 additions and 9 deletions
|
|
@ -114,7 +114,7 @@ def test_execute_code_output_validator(setup_code_executor_mock):
|
|||
result = node.run(pool)
|
||||
|
||||
assert result.status == WorkflowNodeExecutionStatus.FAILED
|
||||
assert result.error == 'result in output form must be a string'
|
||||
assert result.error == 'Output variable `result` must be a string'
|
||||
|
||||
def test_execute_code_output_validator_depth():
|
||||
code = '''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue