dify/api/tests/unit_tests/services
sahasweety 83f40b85f4
fix: remove patch logger in test, use caplog instead (Closes #37468) (#39159)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-17 06:22:20 +00:00
..
agent fix(agent): import workflow agents as inline (#39135) 2026-07-16 08:28:34 +00:00
auth test: move API key authentication coverage to unit tests (#38919) 2026-07-15 03:52:20 +00:00
data_migration chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
enterprise test: move account deletion sync coverage to unit tests (#38917) 2026-07-15 03:47:55 +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_customized_retrieval (#38741) 2026-07-16 14:09:40 +00:00
recommend_app test: move recommendation database retrieval coverage to unit tests (#38921) 2026-07-15 03:44:36 +00:00
retention feat: archive logs export (#38207) 2026-07-14 08:25:37 +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 refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
__init__.py
controller_api.py refactor(api): migrate workspace tool endpoints to BaseModel (#37959) 2026-07-08 09:56:04 +00:00
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 refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
test_account_service.py fix: fix miss create rbac binding (#39023) 2026-07-16 02:25:42 +00:00
test_agent_app_feature_service.py
test_agent_app_sandbox_service.py chore(agent-v2): sync changes (#38513) 2026-07-08 12:05:04 +00:00
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: use sqlite3 session in test_agent_drive_service (#38709) 2026-07-14 04:06:43 +00:00
test_agent_file_request_service.py
test_agent_tool_inner_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +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_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 refactor: improve stream close 2 (#37106) 2026-06-23 03:32:33 +00:00
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 refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +00:00
test_app_task_service.py
test_archive_workflow_run_logs.py feat(retention): add V2 workflow run archive bundlesa (#37747) 2026-06-23 15:20:25 +08:00
test_async_workflow_service.py fix(trigger): return 429 instead of 500 when API quota is exceeded (#38664) 2026-07-10 10:57:50 +00:00
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 refactor: pass db session into service calls (#37403) (#38016) 2026-06-26 07:53:27 +00:00
test_code_based_extension_service.py
test_conversation_service.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_credential_permission_service.py test: use sqlite3 session in test_credential_permission_service (#38711) 2026-07-14 03:58:34 +00:00
test_credit_pool_service.py feat: improve ai-credits display (#38589) 2026-07-16 01:51:46 +00:00
test_dataset_service_dataset.py refactor: explicit DB session propagation across backend paths (#38559) 2026-07-15 06:48:28 +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 chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +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: 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 fix: add is_cloud_only for templates (#37846) 2026-06-24 08:29:54 +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_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 feat: daily sync (#38593) 2026-07-09 10:35:15 +00:00
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_file_upload_service.py chore(api): upgrade graphon to v0.6.0, migrate HITL logic back to Dify (#38247) 2026-07-03 03:45:21 +00:00
test_human_input_service.py chore(api): upgrade graphon to v0.6.0, migrate HITL logic back to Dify (#38247) 2026-07-03 03:45:21 +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 chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_metadata_nullable_bug.py chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
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 chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
test_model_provider_service_sanitization.py
test_model_provider_service.py
test_oauth_device_flow.py test: use sqlite3 session in test_oauth_device_flow (#38782) 2026-07-13 07:48:15 +00:00
test_operation_service.py fix: bound OperationService billing requests (#37425) 2026-06-22 06:45:03 +00:00
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: use sqlite3 session in test_schedule_service (#38707) 2026-07-14 03:43:19 +00:00
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_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 chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +00:00
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 chore: clean Db session from service (#38227) 2026-07-08 03:07:27 +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 sqlite3 session (#38641) 2026-07-10 06:11:24 +00:00