dify/api/tests/unit_tests/core
Novice 6b75188ddc
fix: resolve import migrations and test failures after segment 3 merge
- Migrate core.model_runtime -> dify_graph.model_runtime across 20+ files
- Migrate core.workflow.file -> dify_graph.file across 15+ files
- Migrate core.workflow.enums -> dify_graph.enums in service files
- Fix SandboxContext phantom import in dify_graph/context/__init__.py
- Fix core.app.workflow.node_factory -> core.workflow.node_factory
- Fix toast import paths (useToastContext from toast/context)
- Fix app-info.tsx import paths for relocated app-operations
- Fix 15 frontend test files for API changes, missing QueryClientProvider,
  i18n key renames, and component behavior changes

Made-with: Cursor
2026-03-23 10:31:11 +08:00
..
agent fix: resolve import migrations and test failures after segment 3 merge 2026-03-23 10:31:11 +08:00
app fix: resolve import migrations and test failures after segment 3 merge 2026-03-23 10:31:11 +08:00
app_assets refactor: unify download item types and eliminate extension-based branching 2026-03-10 17:12:15 +08:00
datasource refactor: move workflow package to dify_graph (#32844) 2026-03-02 18:42:30 +08:00
file fix: resolve import migrations and test failures after segment 3 merge 2026-03-23 10:31:11 +08:00
helper test(api): add autospec to MagicMock-based patch usage (#32752) 2026-03-01 04:30:45 +08:00
llm_generator/output_parser fix: resolve import migrations and test failures after segment 3 merge 2026-03-23 10:31:11 +08:00
logging test(api): add autospec to MagicMock-based patch usage (#32752) 2026-03-01 04:30:45 +08:00
mcp refactor: move workflow package to dify_graph (#32844) 2026-03-02 18:42:30 +08:00
model_runtime refactor(api): move model_runtime into dify_graph (#32858) 2026-03-02 20:15:32 +08:00
moderation test(api): add autospec to MagicMock-based patch usage (#32752) 2026-03-01 04:30:45 +08:00
ops refactor: move workflow package to dify_graph (#32844) 2026-03-02 18:42:30 +08:00
plugin refactor(api): move model_runtime into dify_graph (#32858) 2026-03-02 20:15:32 +08:00
prompt refactor(api): move model_runtime into dify_graph (#32858) 2026-03-02 20:15:32 +08:00
rag refactor(api): move model_runtime into dify_graph (#32858) 2026-03-02 20:15:32 +08:00
repositories refactor: human input node decouple db (#32900) 2026-03-04 13:18:32 +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(api): include file marker for workflow tool file outputs (#32114) 2026-02-10 16:51:12 +08:00
variables Merge commit '92bde350' into sandboxed-agent-rebase 2026-03-23 09:39:49 +08:00
virtual_environment refactor: a lot of optimization and enhancement 2026-03-12 18:23:16 +08:00
workflow fix: resolve import migrations and test failures after segment 3 merge 2026-03-23 10:31:11 +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: move workflow package to dify_graph (#32844) 2026-03-02 18:42:30 +08:00