dify/api/tests/unit_tests/controllers
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
..
common test: unit test case for controllers.common module (#32056) 2026-03-09 09:45:42 +08:00
console fix: resolve import errors and test failures after segment 4 merge 2026-03-23 13:59:09 +08:00
files test: align file preview mimetype expectation (#32688) 2026-02-27 15:27:30 +08:00
inner_api fix: resolve import errors and test failures after segment 4 merge 2026-03-23 13:59:09 +08:00
mcp test(api): add autospec to MagicMock-based patch usage (#32752) 2026-03-01 04:30:45 +08:00
service_api refactor(api): move model_runtime into dify_graph (#32858) 2026-03-02 20:15:32 +08:00
trigger test: unit test cases for controllers.files, controllers.mcp and controllers.trigger module (#32057) 2026-02-25 14:41:42 +08:00
web refactor: replace sa.String with EnumText in mapped_column for type s… (#33332) 2026-03-14 13:38:27 +09:00
__init__.py feat: return data_source_info and data_source_detail_dict (#29912) 2026-01-05 11:04:03 +08:00
test_compare_versions.py refactor(version): simplify version comparison logic (#10109) 2024-10-31 15:15:32 +08:00
test_conversation_rename_payload.py fix: conversation rename payload validation (#29510) 2025-12-11 18:05:41 +09:00