dify/api/tests/unit_tests
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
..
commands chore: split commands by domain (#33085) 2026-03-10 20:20:45 +09:00
configs refactor: Unify NodeConfigDict.data and BaseNodeData (#32780) 2026-03-11 23:43:58 +08:00
controllers fix: resolve import errors and test failures after segment 4 merge 2026-03-23 13:59:09 +08:00
core fix: resolve import errors and test failures after segment 4 merge 2026-03-23 13:59:09 +08:00
dify_graph/model_runtime test: added test for core token buffer memory and model runtime (#32512) 2026-03-12 11:46:46 +08:00
extensions Merge commit 'fb41b215' into sandboxed-agent-rebase 2026-03-23 10:52:06 +08:00
factories refactor: move workflow package to dify_graph (#32844) 2026-03-02 18:42:30 +08:00
fields refactor: port api/fields/file_fields.py (#30638) 2026-01-06 22:55:58 +08:00
libs fix: resolve import errors and test failures after segment 4 merge 2026-03-23 13:59:09 +08:00
models refactor(api): move workflow knowledge nodes and trigger nodes (#33445) 2026-03-15 15:24:59 +08:00
oss test(api): add autospec to MagicMock-based patch usage (#32752) 2026-03-01 04:30:45 +08:00
repositories Merge commit 'fb41b215' into sandboxed-agent-rebase 2026-03-23 10:52:06 +08:00
services fix: resolve import errors and test failures after segment 4 merge 2026-03-23 13:59:09 +08:00
tasks refactor(api): move workflow knowledge nodes and trigger nodes (#33445) 2026-03-15 15:24:59 +08:00
tools test: Unit test cases for core.tools module (#32447) 2026-03-12 11:48:13 +08:00
utils Merge commit '92bde350' into sandboxed-agent-rebase 2026-03-23 09:39:49 +08:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
.gitignore Enhance Code Consistency Across Repository with .editorconfig (#19023) 2025-04-29 18:04:33 +08:00
conftest.py fix(api): fix the issue that workflow_runs.started_at is overwritten while resuming (#32851) 2026-03-06 15:41:30 +08:00