test(tasks): add comprehensive tests for per-user cloud scan functions and gmail_apply_labels
Add 68 new unit tests covering: - _scan_user_s3_folder: 10 tests (bucket config, credentials, client creation, pagination, download, cache, file types, delete, error handling) - _scan_user_dropbox_folder: 9 tests (credentials, folder path, auth, listing, download, cache, non-file entries, delete, download failure) - _scan_user_google_drive_folder: 8 tests (credentials JSON, folder ID, auth, download, cache, delete, download/listing failures) - _scan_user_onedrive_folder: 10 tests (credentials, folder path, token exchange, download, folders, cache, download URL, delete, download/listing failures) - _scan_user_nextcloud_folder: 9 tests (settings, PROPFIND, XML parse, download, self-entry, cache, delete, download failure, absolute href) - _scan_user_webdav_folder: 9 tests (URL config, PROPFIND, XML parse, download, directories, cache, delete, download failure, absolute href) - Dispatch tests for google_drive, onedrive, nextcloud, webdav source types - gmail_apply_labels forwarding and default-to-true in IMAP integration Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in: