dify/api/tests/unit_tests/services
2026-04-09 03:36:49 +00:00
..
auth chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
enterprise test: add tests for api/services retention, enterprise, plugin (#32648) 2026-03-31 03:16:42 +00:00
plugin refactor(api): use sessionmaker in plugin & trigger services (#34764) 2026-04-08 23:18:26 +00:00
rag_pipeline refactor: select in rag_pipeline (#34495) 2026-04-03 03:42:01 +00:00
recommend_app test: migrate database retrieval tests to testcontainers (#34087) 2026-03-25 23:06:46 +09:00
retention test: add tests for api/services retention, enterprise, plugin (#32648) 2026-03-31 03:16:42 +00:00
tools refactor: select in 10 service files (#34373) 2026-04-01 08:03:49 +00:00
workflow test: add unit tests for services and tasks part-4 (#33223) 2026-04-02 08:35:46 +00:00
__init__.py
controller_api.py
dataset_metadata.py refactor: select in metadata_service (#34479) 2026-04-02 12:34:38 +00:00
dataset_permission_service.py
dataset_service_test_helpers.py refactor(api): remove duplicated RAG entities from services layer (#34689) 2026-04-07 23:36:59 +00:00
dataset_service_update_delete.py refactor(api): continue decoupling dify_graph from API concerns (#33580) 2026-03-25 20:32:24 +08:00
document_indexing_task_proxy.py
document_service_status.py
document_service_validation.py refactor(api): remove duplicated RAG entities from services layer (#34689) 2026-04-07 23:36:59 +00:00
external_dataset_service.py refactor: select in external_knowledge_service (#34493) 2026-04-03 03:42:16 +00:00
hit_service.py
segment_service.py refactor(api): continue decoupling dify_graph from API concerns (#33580) 2026-03-25 20:32:24 +08:00
services_test_help.py
test_account_service.py refactor: use sessionmaker in small services 2 (#34696) 2026-04-08 05:06:50 +00:00
test_annotation_service.py refactor: select in annotation_service (#34503) 2026-04-03 22:47:22 +00:00
test_app_dsl_service_import_yaml_url.py
test_app_dsl_service.py fix(#34636): replace SimpleNamespace with MagicMock(spec=App) in test_app_dsl_service (#34659) 2026-04-07 07:25:46 +00:00
test_app_generate_service_streaming_integration.py
test_app_generate_service.py
test_app_model_config_service.py
test_app_task_service.py
test_archive_workflow_run_logs.py
test_async_workflow_service.py refactor: use sessionmaker in small services 2 (#34696) 2026-04-08 05:06:50 +00:00
test_audio_service.py refactor: select in 13 small service files (#34371) 2026-04-01 04:00:05 +00:00
test_batch_indexing_base.py
test_billing_service.py refactor: enhance billing info response handling (#34340) 2026-04-08 03:49:35 +00:00
test_clear_free_plan_expired_workflow_run_logs.py feat: add metrics to clean message and workflow-run task (#33143) 2026-03-17 13:55:28 +08:00
test_clear_free_plan_tenant_expired_logs.py refactor(api): use sessionmaker in end user, retention & cleanup services (#34765) 2026-04-08 23:21:28 +00:00
test_code_based_extension_service.py
test_conversation_service.py refactor: select in 13 small service files (#34371) 2026-04-01 04:00:05 +00:00
test_dataset_service_dataset.py refactor: use sessionmaker in small services 2 (#34696) 2026-04-08 05:06:50 +00:00
test_dataset_service_document.py refactor: select in dataset_service (DocumentService class) (#34528) 2026-04-03 22:52:01 +00:00
test_dataset_service_lock_not_owned.py test: replace indexing_technique string literals with IndexTechnique (#34042) 2026-03-25 12:39:58 +09:00
test_dataset_service_segment.py refactor: select in dataset_service (SegmentService and remaining cla… (#34547) 2026-04-05 00:13:06 +00:00
test_datasource_provider_service.py refactor: select in datasource_provider_service (#34548) 2026-04-05 00:12:15 +00:00
test_document_indexing_task_proxy.py
test_duplicate_document_indexing_task_proxy.py
test_export_app_messages.py
test_external_dataset_service.py refactor: select in external_knowledge_service (#34493) 2026-04-03 03:42:16 +00:00
test_feature_service_human_input_email_delivery.py
test_file_service.py
test_hit_testing_service.py
test_human_input_service.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
test_knowledge_service.py refactor: replace dict with BedrockRetrievalSetting BaseModel in knowledge_service (#34080) 2026-03-25 21:33:24 +09:00
test_message_service.py refactor: select in message_service and ops_service (#34414) 2026-04-01 16:37:27 +00:00
test_messages_clean_service.py feat: add metrics to clean message and workflow-run task (#33143) 2026-03-17 13:55:28 +08:00
test_metadata_bug_complete.py
test_metadata_nullable_bug.py
test_model_load_balancing_service.py refactor: model_load_balancing_service and api_tools_manage_service (#34434) 2026-04-02 04:38:35 +00:00
test_model_provider_service_sanitization.py test: add unit tests for services and tasks part-4 (#33223) 2026-04-02 08:35:46 +00:00
test_operation_service.py
test_ops_service.py refactor: select in message_service and ops_service (#34414) 2026-04-01 16:37:27 +00:00
test_rag_pipeline_task_proxy.py
test_schedule_service.py refactor: use sessionmaker in controllers, events, models, and tasks 1 (#34693) 2026-04-07 23:47:20 +00:00
test_summary_index_service.py refactor(api): continue decoupling dify_graph from API concerns (#33580) 2026-03-25 20:32:24 +08:00
test_trigger_provider_service.py refactor(api): use sessionmaker in trigger provider service & dataset… (#34774) 2026-04-08 23:13:38 +00:00
test_variable_truncator.py test: add unit tests for services and tasks part-4 (#33223) 2026-04-02 08:35:46 +00:00
test_vector_service.py refactor: select in 10 service files (#34373) 2026-04-01 08:03:49 +00:00
test_webhook_service.py refactor(api): use sessionmaker in plugin & trigger services (#34764) 2026-04-08 23:18:26 +00:00
test_website_service.py perf: use global httpx client instead of per request create new one (#34311) 2026-04-01 01:19:32 +00:00
test_workflow_collaboration_service.py
test_workflow_comment_service.py
test_workflow_run_service_pause.py test: add unit tests for services and tasks part-4 (#33223) 2026-04-02 08:35:46 +00:00
test_workflow_service.py [autofix.ci] apply automated fixes 2026-04-09 03:36:49 +00:00
vector_service.py refactor(api): continue decoupling dify_graph from API concerns (#33580) 2026-03-25 20:32:24 +08:00