test: remove legacy code executor integration test (#35224)

This commit is contained in:
James 2026-04-15 04:19:42 +02:00 committed by GitHub
parent 7de92c598f
commit b77801ece9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,11 +0,0 @@
import pytest
from core.helper.code_executor.code_executor import CodeExecutionError, CodeExecutor
CODE_LANGUAGE = "unsupported_language"
def test_unsupported_with_code_template():
with pytest.raises(CodeExecutionError) as e:
CodeExecutor.execute_workflow_code_template(language=CODE_LANGUAGE, code="", inputs={})
assert str(e.value) == f"Unsupported language {CODE_LANGUAGE}"