SurfSense/surfsense_backend/tests/integration/document_upload
Anish Sarkar 3393e435f9 feat: implement task dispatcher for document processing
- Introduced a TaskDispatcher abstraction to decouple the upload endpoint from Celery, allowing for easier testing with synchronous implementations.
- Updated the create_documents_file_upload function to utilize the new dispatcher for task management.
- Removed direct Celery task imports from the upload function, enhancing modularity.
- Added integration tests for document upload, including page limit enforcement and file size restrictions.
2026-02-26 23:55:47 +05:30
..
__init__.py feat: implement task dispatcher for document processing 2026-02-26 23:55:47 +05:30
conftest.py feat: implement task dispatcher for document processing 2026-02-26 23:55:47 +05:30
test_document_upload.py feat: implement task dispatcher for document processing 2026-02-26 23:55:47 +05:30
test_page_limits.py feat: implement task dispatcher for document processing 2026-02-26 23:55:47 +05:30
test_upload_limits.py feat: implement task dispatcher for document processing 2026-02-26 23:55:47 +05:30