dify/api/tests/unit_tests/services
Asuka Minato 05fe92a541
refactor: port reqparse to BaseModel (#28993)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-08 15:31:19 +09:00
..
auth rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
tools Feat: Add "Open Workflow" link in workflow side panel (#28898) 2025-11-29 18:47:12 +08:00
workflow more typed orm (#28331) 2025-11-21 14:23:32 +09:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
controller_api.py Add comprehensive API/controller tests for dataset endpoints (list, create, update, delete, documents, segments, hit testing, external datasets) (#28750) 2025-11-27 10:59:17 +08:00
dataset_collection_binding.py feat: Add comprehensive unit tests for DatasetCollectionBindingService (dataset collection binding methods) (#28724) 2025-11-27 09:55:42 +08:00
dataset_metadata.py Add comprehensive unit tests for MetadataService (dataset metadata CRUD operations and filtering) (#28748) 2025-11-27 11:00:10 +08:00
dataset_permission_service.py test: add unit tests for dataset permission service (#28760) 2025-11-27 15:00:55 +08:00
dataset_service_update_delete.py test: add unit tests for dataset service update/delete operations (#28757) 2025-11-27 15:01:43 +08:00
document_indexing_task_proxy.py test: add comprehensive unit tests for DocumentIndexingTaskProxy (#28830) 2025-11-28 12:30:54 +08:00
document_service_status.py test: add unit tests for document service status management (#28804) 2025-11-28 11:25:36 +08:00
document_service_validation.py test: add unit tests for document service validation and configuration (#28810) 2025-11-28 11:21:45 +08:00
external_dataset_service.py test: add comprehensive unit tests for ExternalDatasetService (external knowledge API integration) (#28716) 2025-11-26 23:33:46 +08:00
hit_service.py test: add comprehensive unit tests for HitTestingService Fix: #28667 (#28668) 2025-11-26 22:42:58 +08:00
segment_service.py test: add comprehensive unit tests for SegmentService - Fix: #28656 (#28568) 2025-11-26 09:43:00 +08:00
services_test_help.py Add unit test for account service (#22278) 2025-07-12 19:58:42 +08:00
test_account_service.py Feature:during account initialization, set the interface language to be consistent with the display language(#27029) (#27042) 2025-10-21 15:53:12 +08:00
test_app_task_service.py fix: ensure advanced-chat workflows stop correctly (#27803) 2025-11-25 20:09:03 +08:00
test_audio_service.py test: add comprehensive unit tests for AudioService (#28860) 2025-11-28 14:43:35 +08:00
test_billing_service.py chore: enhance the test script of current billing service (#28747) 2025-11-27 10:37:24 +08:00
test_clear_free_plan_tenant_expired_logs.py Update ast-grep pattern for session.query (#24828) 2025-08-31 17:03:51 +08:00
test_conversation_service.py chore: enhance the test script of conversation service (#28739) 2025-11-27 09:57:52 +08:00
test_dataset_permission.py Refactor: use logger = logging.getLogger(__name__) in logging (#24515) 2025-08-26 18:10:31 +08:00
test_dataset_service.py feat: complete test script of dataset service (#28710) 2025-11-26 22:48:08 +08:00
test_dataset_service_batch_update_document_status.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
test_dataset_service_create_dataset.py feat: add comprehensive unit tests for dataset service creation methods (#28522) 2025-11-22 13:38:35 +08:00
test_dataset_service_delete_dataset.py fix: handle None values in dataset and document deletion logic (#27083) 2025-10-20 12:52:48 +08:00
test_dataset_service_lock_not_owned.py chore: ignore redis lock not owned error (#29064) 2025-12-04 10:14:28 +08:00
test_dataset_service_retrieval.py feat: add comprehensive unit tests for dataset service retrieval/list… (#28539) 2025-11-24 10:08:43 +08:00
test_dataset_service_update_dataset.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
test_document_indexing_task_proxy.py refactor: implement tenant self queue for rag tasks (#27559) 2025-11-06 21:25:50 +08:00
test_document_service_display_status.py fix: update table alias in document service display status test asser… (#28436) 2025-11-20 12:47:45 +08:00
test_end_user_service.py test: add comprehensive unit tests for EndUserService (#28840) 2025-11-28 14:22:19 +08:00
test_external_dataset_service.py test: add comprehensive unit tests for `ExternalDatasetService` (#28872) 2025-11-28 17:59:02 +08:00
test_feedback_service.py test: add comprehensive unit tests for FeedbackService (#28771) 2025-11-28 11:33:56 +08:00
test_message_service.py feat: add comprehensive unit tests for MessageService (#28837) 2025-11-28 12:36:15 +08:00
test_metadata_bug_complete.py refactor: port reqparse to BaseModel (#28993) 2025-12-08 15:31:19 +09:00
test_metadata_nullable_bug.py refactor: port reqparse to BaseModel (#28993) 2025-12-08 15:31:19 +09:00
test_metadata_partial_update.py feat: Implement partial update for document metadata, allowing merging of new values with existing ones. (#28390) 2025-11-21 12:58:20 +08:00
test_rag_pipeline_task_proxy.py refactor: implement tenant self queue for rag tasks (#27559) 2025-11-06 21:25:50 +08:00
test_recommended_app_service.py test: add comprehensive unit tests for RecommendedAppService (#28869) 2025-11-28 15:10:24 +08:00
test_saved_message_service.py test: add comprehensive unit tests for SavedMessageService (#28845) 2025-11-28 14:42:54 +08:00
test_schedule_service.py feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
test_tag_service.py feat: Add comprehensive unit tests for TagService with extensive docu… (#28885) 2025-11-28 18:01:01 +08:00
test_variable_truncator.py fix(api): Disable SSE events truncation for service api (#27484) 2025-10-27 21:15:44 +08:00
test_webhook_service.py chore: enhance the hint when the user triggers an invalid webhook request (#28671) 2025-11-26 14:00:16 +08:00
test_workflow_run_service_pause.py Enhanced GraphEngine Pause Handling (#28196) 2025-11-26 19:59:34 +08:00
test_workflow_service.py Feat/test script of workflow service (#28726) 2025-11-27 11:23:55 +08:00
vector_service.py test: add comprehensive unit tests for VectorService and Vector classes (#28834) 2025-11-28 12:30:02 +08:00