Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

test: remove duplicate code executor integration coverage (#38947)

Asuka Minatobf2654eff6eb
diff --git a/api/tests/test_containers_integration_tests/workflow/nodes/code_executor/test_code_executor.py b/api/tests/test_containers_integration_tests/workflow/nodes/code_executor/test_code_executor.py
deleted file mode 100644
index 487178ff580..00000000000
--- a/api/tests/test_containers_integration_tests/workflow/nodes/code_executor/test_code_executor.py
+++ /dev/null
@@ -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}"