dify/api/tests/unit_tests/core
Novice a28f22e59d
fix: resolve import errors and test failures after segment 4 merge
- Update BaseNodeData import path to dify_graph.entities.base_node_data
- Change NodeType.COMMAND/FILE_UPLOAD to BuiltinNodeTypes constants
- Fix system_oauth_encryption -> system_encryption rename in commands
- Remove tests for deleted agent runner modules
- Fix Avatar: named import + string size API in collaboration files
- Add missing skill feature deps: @monaco-editor/react, react-arborist,
  @tanstack/react-virtual
- Fix frontend test mocks: add useUserProfile, useLeaderRestoreListener,
  next/navigation mock, and nodeOutputVars to expected payload

Made-with: Cursor
2026-03-23 13:59:09 +08:00
..
agent fix: resolve import errors and test failures after segment 4 merge 2026-03-23 13:59:09 +08:00
app fix: resolve import errors and test failures after segment 4 merge 2026-03-23 13:59:09 +08:00
app_assets refactor: unify download item types and eliminate extension-based branching 2026-03-10 17:12:15 +08:00
base test: unit test cases for core.callback, core.base, core.entities module (#32471) 2026-03-12 11:09:08 +08:00
callback_handler fix: resolve import errors and test failures after segment 4 merge 2026-03-23 13:59:09 +08:00
datasource fix(api): allow punctuation in uploaded filenames (#33364) 2026-03-13 21:33:09 +08:00
entities test: unit test cases for core.callback, core.base, core.entities module (#32471) 2026-03-12 11:09:08 +08:00
extension test: add test for core extension, external_data_tool and llm generator (#32468) 2026-03-12 11:44:38 +08:00
external_data_tool test: add test for core extension, external_data_tool and llm generator (#32468) 2026-03-12 11:44:38 +08:00
file style: auto-format after segment 3 import migrations 2026-03-23 10:37:02 +08:00
helper test(api): add autospec to MagicMock-based patch usage (#32752) 2026-03-01 04:30:45 +08:00
llm_generator fix: resolve import errors and test failures after segment 4 merge 2026-03-23 13:59:09 +08:00
logging test: added for core logging and core mcp (#32478) 2026-03-12 11:44:56 +08:00
mcp test: added for core logging and core mcp (#32478) 2026-03-12 11:44:56 +08:00
memory test: added test for core token buffer memory and model runtime (#32512) 2026-03-12 11:46:46 +08:00
moderation test(api): add autospec to MagicMock-based patch usage (#32752) 2026-03-01 04:30:45 +08:00
ops refactor(api): move workflow knowledge nodes and trigger nodes (#33445) 2026-03-15 15:24:59 +08:00
plugin test: unit test cases for core.variables, core.plugin, core.prompt module (#32637) 2026-03-12 11:29:02 +08:00
prompt test: unit test cases for core.variables, core.plugin, core.prompt module (#32637) 2026-03-12 11:29:02 +08:00
rag refactor(api): move workflow knowledge nodes and trigger nodes (#33445) 2026-03-15 15:24:59 +08:00
repositories refactor(api): move workflow knowledge nodes and trigger nodes (#33445) 2026-03-15 15:24:59 +08:00
sandbox refactor: unify download item types and eliminate extension-based branching 2026-03-10 17:12:15 +08:00
schemas test(api): add autospec to MagicMock-based patch usage (#32752) 2026-03-01 04:30:45 +08:00
skill refactor: redesign skill compilation and document assembly process 2026-03-10 17:12:14 +08:00
tools fix: resolve import errors and test failures after segment 4 merge 2026-03-23 13:59:09 +08:00
trigger refactor(api): move workflow knowledge nodes and trigger nodes (#33445) 2026-03-15 15:24:59 +08:00
variables Merge commit 'fb41b215' into sandboxed-agent-rebase 2026-03-23 10:52:06 +08:00
virtual_environment refactor: a lot of optimization and enhancement 2026-03-12 18:23:16 +08:00
workflow fix: resolve import errors and test failures after segment 4 merge 2026-03-23 13:59:09 +08:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
test_file.py refactor: move workflow package to dify_graph (#32844) 2026-03-02 18:42:30 +08:00
test_model_manager.py refactor(api): move model_runtime into dify_graph (#32858) 2026-03-02 20:15:32 +08:00
test_provider_configuration.py refactor(api): move model_runtime into dify_graph (#32858) 2026-03-02 20:15:32 +08:00
test_provider_manager.py refactor(api): move model_runtime into dify_graph (#32858) 2026-03-02 20:15:32 +08:00
test_trigger_debug_event_selectors.py refactor(api): move workflow knowledge nodes and trigger nodes (#33445) 2026-03-15 15:24:59 +08:00