dify/api/tests/unit_tests/services
2026-07-22 04:16:21 +00:00
..
agent fix: enforce tool provider type contracts (#39380) 2026-07-22 01:30:55 +00:00
auth test: move API key authentication coverage to unit tests (#38919) 2026-07-15 03:52:20 +00:00
data_migration
enterprise test: use SQLite sessions in services enterprise (#39113) 2026-07-22 02:13:52 +00:00
openapi
plugin test: move plugin parameter service coverage to unit tests (#38934) 2026-07-16 13:06:04 +00:00
rag_pipeline test: use sqlite3 session in test_database_retrieval (#38743) 2026-07-21 07:56:34 +00:00
recommend_app test: move recommendation database retrieval coverage to unit tests (#38921) 2026-07-15 03:44:36 +00:00
retention test: use SQLite sessions in unit misc (#39122) 2026-07-20 10:38:49 +00:00
tools fix: SSRF bypass via raw httpx.get in API tool schema fetch (#37746) 2026-07-14 08:43:57 +00:00
workflow test: use SQLite sessions in services misc (#39114) 2026-07-22 02:11:52 +00:00
__init__.py
controller_api.py
dataset_service_test_helpers.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
document_service_validation.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
hit_service.py test: use SQLite sessions in services misc (#39114) 2026-07-22 02:11:52 +00:00
test_account_service.py test: use sqlite3 session in test_account_service (#38751) 2026-07-21 07:22:05 +00:00
test_agent_app_feature_service.py
test_agent_app_sandbox_service.py
test_agent_config_service.py fix(agent): preserve DSL asset placeholders and count draft references (#39015) 2026-07-15 11:49:11 +00:00
test_agent_drive_service.py
test_agent_file_request_service.py
test_agent_tool_inner_service.py test: use SQLite sessions in services core (#39111) 2026-07-22 02:15:01 +00:00
test_annotation_service.py fix(api): bind scoped lookups to nested owner refs (#38470) 2026-07-15 09:31:09 +00:00
test_api_token_service.py test: move API token service coverage to unit tests (#38918) 2026-07-21 07:48:10 +00:00
test_app_dsl_service.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
test_app_generate_service_streaming_integration.py
test_app_generate_service.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
test_app_model_config_service.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
test_app_service.py fix: can't create chat app when get tenant default model schema error (#39266) 2026-07-20 06:47:16 +00:00
test_app_task_service.py
test_archive_workflow_run_logs.py
test_async_workflow_service.py
test_audio_service.py fix(api): bind scoped lookups to nested owner refs (#38470) 2026-07-15 09:31:09 +00:00
test_batch_indexing_base.py
test_billing_service.py feat: improve ai-credits display (#38589) 2026-07-16 01:51:46 +00:00
test_clear_free_plan_expired_workflow_run_logs.py
test_clear_free_plan_tenant_expired_logs.py test: use sqlite3 session in test_clear_free_plan_tenant_expired_logs (#38693) 2026-07-22 04:16:21 +00:00
test_code_based_extension_service.py
test_conversation_service.py test: use sqlite3 session in test_conversation_service (#38774) 2026-07-21 07:38:53 +00:00
test_credential_permission_service.py
test_credit_pool_service.py feat: improve ai-credits display (#38589) 2026-07-16 01:51:46 +00:00
test_dataset_service_dataset.py fix(dataset_service): use flush() instead of commit() to preserve caller transaction (#39223) 2026-07-19 07:00:50 +00:00
test_dataset_service_document.py fix(api): bind scoped lookups to nested owner refs (#38470) 2026-07-15 09:31:09 +00:00
test_dataset_service_lock_not_owned.py test: use sqlite3 session in test_dataset_service_lock_not_owned (#38755) 2026-07-14 06:40:31 +00:00
test_dataset_service_segment.py fix(api): bind scoped lookups to nested owner refs (#38470) 2026-07-15 09:31:09 +00:00
test_datasource_provider_service.py
test_document_indexing_task_proxy.py
test_duplicate_document_indexing_task_proxy.py
test_export_app_messages.py
test_external_dataset_service.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
test_feature_service_app_dsl_version.py
test_feature_service_enable_app_deploy.py
test_feature_service_human_input_email_delivery.py
test_feature_service_learn_app.py feat(web): add step-by-step tour shell (#38785) 2026-07-20 09:23:25 +00:00
test_feature_service_licensed_seats.py feat(enterprise): enforce licensed seats cap at account creation (#38883) 2026-07-14 06:51:19 +00:00
test_feature_service_trial_models.py
test_feature_service_vector_space.py
test_feature_service_webapp_public_access.py feat(webapp-access): add WEBAPP_PUBLIC_ACCESS_ENABLED toggle (#38567) 2026-07-21 08:46:28 +00:00
test_feedback_service.py test: move feedback service coverage to unit tests (#38927) 2026-07-15 05:42:12 +00:00
test_file_request_service.py
test_file_service.py refactor(api): pass tenant_id explicitly to workflow repositories (#39042) 2026-07-16 09:36:30 +00:00
test_hit_testing_service.py test: move hit testing service coverage to unit tests (#38925) 2026-07-15 03:37:16 +00:00
test_human_input_delivery_test_service.py test: move human input delivery coverage to unit tests (#38926) 2026-07-21 08:18:32 +00:00
test_human_input_file_upload_service.py
test_human_input_service.py
test_knowledge_fs_proxy.py feat(dataset): proxy KnowledgeFS Console requests (#39158) 2026-07-20 08:10:06 +00:00
test_knowledge_retrieval_inner_service.py test: use SQLite sessions in services core (#39112) 2026-07-16 09:32:11 +00:00
test_knowledge_service.py
test_message_service.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
test_messages_clean_service.py
test_metadata_bug_complete.py
test_metadata_nullable_bug.py
test_metadata_service_session_boundary.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
test_model_load_balancing_service.py
test_model_provider_service_sanitization.py
test_model_provider_service.py
test_oauth_device_flow.py
test_operation_service.py
test_rag_pipeline_task_proxy.py
test_recommended_app_service.py fix(api): harden trial apps access for recommended apps (#38970) 2026-07-15 06:04:07 +00:00
test_schedule_service.py
test_snippet_dsl_service.py feat(agent): support new Agent DSL import and export (#38849) 2026-07-15 02:02:14 +00:00
test_snippet_generate_service.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
test_snippet_service.py fix: preserve and display workflow retry details (#38854) 2026-07-15 05:58:37 +00:00
test_step_by_step_tour_service.py feat(web): add step-by-step tour shell (#38785) 2026-07-20 09:23:25 +00:00
test_summary_index_service.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
test_trigger_provider_service.py
test_variable_truncator_additional.py
test_variable_truncator.py
test_vector_service.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
test_webhook_service_additional.py
test_webhook_service.py fix: remove patch logger in test, use caplog instead (Closes #37468) (#39159) 2026-07-17 06:22:20 +00:00
test_website_service.py
test_workflow_collaboration_service.py test: use SQLite sessions in unit misc (#39119) 2026-07-21 03:20:59 +00:00
test_workflow_comment_service.py
test_workflow_generator_service.py perf(workflow-generator): parallelize node config generation (#38975) 2026-07-17 02:34:15 +00:00
test_workflow_node_execution_trace_service.py fix: preserve and display workflow retry details (#38854) 2026-07-15 05:58:37 +00:00
test_workflow_run_service_pause.py
test_workflow_run_service.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
test_workflow_service.py test: use SQLite sessions in services core (#39111) 2026-07-22 02:15:01 +00:00