dify/api/tests/unit_tests/services
wdeveloper16 88c38ddeb3
test: migrate conversation rename/delete edge cases to Testcontainers integration tests (#34991)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-13 00:55:58 +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 fix: sqlalchemy.orm.exc.DetachedInstanceError (#34910) 2026-04-10 07:44:22 +00:00
rag_pipeline refactor(api): migrate tools, account, workflow and plugin services to SQLAlchemy 2.0 (#34966) 2026-04-12 01:45:27 +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(services): migrate builtin_tools_manage_service to SQLAlchemy 2.0 select() API (#34973) 2026-04-12 01:25:51 +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_service_test_helpers.py refactor(api): remove duplicated RAG entities from services layer (#34689) 2026-04-07 23:36:59 +00: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 fix(api): prevent cross-tenant external API use-check disclosure (#34744) 2026-04-10 03:23:32 +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 fix: fix orm_exc.DetachedInstanceError (#34904) 2026-04-10 07:13:59 +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
test_clear_free_plan_tenant_expired_logs.py refactor(services): migrate dataset_service and clear_free_plan_tenant_expired_logs to SQLAlchemy 2.0 select() API (#34970) 2026-04-12 01:21:52 +00:00
test_code_based_extension_service.py
test_conversation_service.py test: migrate conversation rename/delete edge cases to Testcontainers integration tests (#34991) 2026-04-13 00:55:58 +00:00
test_dataset_service_dataset.py refactor(services): migrate dataset_service and clear_free_plan_tenant_expired_logs to SQLAlchemy 2.0 select() API (#34970) 2026-04-12 01:21:52 +00:00
test_dataset_service_document.py refactor(services): migrate dataset_service and clear_free_plan_tenant_expired_logs to SQLAlchemy 2.0 select() API (#34970) 2026-04-12 01:21:52 +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(services): migrate datasource_provider_service to SQLAlchemy 2.0 select() API (#34974) 2026-04-12 01:23:24 +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 fix(api): prevent cross-tenant external API use-check disclosure (#34744) 2026-04-10 03:23:32 +00:00
test_feature_service_human_input_email_delivery.py
test_file_service.py refactor: migrate session.query to select API in file service (#34852) 2026-04-09 14:15:59 +00:00
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
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_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(services): migrate summary_index_service to SQLAlchemy 2.0 select() API (#34971) 2026-04-12 01:37:16 +00:00
test_trigger_provider_service.py refactor(services): migrate trigger_provider_service to SQLAlchemy 2.0 select() API (#34972) 2026-04-12 01:36:13 +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: migrate session.query to select API in webhook service (#34849) 2026-04-09 14:16:33 +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_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 refactor(api): migrate tools, account, workflow and plugin services to SQLAlchemy 2.0 (#34966) 2026-04-12 01:45:27 +00:00
vector_service.py refactor(api): continue decoupling dify_graph from API concerns (#33580) 2026-03-25 20:32:24 +08:00