copilot-swe-agent[bot]
89bfbbef8f
docs: clarify behavior of extract_remote_path with multiple 'processed' dirs
...
Added detailed docstring explaining that the function only removes the first
occurrence of 'processed' from the path, not all occurrences. This documents
the current implementation behavior.
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-15 10:28:44 +00:00
copilot-swe-agent[bot]
53d77d781d
fix: correct test assertion for extract_remote_path
...
The function only removes the first occurrence of 'processed' from path,
not all occurrences. Updated test assertion to match actual behavior.
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-15 10:27:19 +00:00
copilot-swe-agent[bot]
e24f83fdd0
fix: resolve 48 lint errors in test files
...
- Remove whitespace from 22 blank lines (W293)
- Remove 6 unused imports (F401): os, Mock, MagicMock, Path
- Add missing imports for 12 test functions (F821): sanitize_filename, extract_remote_path, MagicMock
- Fix 1 unsorted import block (I001)
All ruff checks now pass successfully.
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-15 10:24:48 +00:00
copilot-swe-agent[bot]
ee6f7e1b30
fix: move imports to module level per code review feedback
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-14 00:40:09 +00:00
copilot-swe-agent[bot]
80a645895a
test: add comprehensive edge case tests for validators, file_status, file_splitting, and filename_utils
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-14 00:37:32 +00:00
copilot-swe-agent[bot]
3fd354ecf7
style(tests): fix import ordering per ruff linter
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-13 23:09:51 +00:00
copilot-swe-agent[bot]
b1510f8a8f
feat(tests): increase coverage for validators.py (95.59%) and filename_utils.py (100%)
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-13 23:08:39 +00:00
copilot-swe-agent[bot]
43bc58770d
refactor: consolidate linting tools into Ruff
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-13 09:10:52 +00:00
copilot-swe-agent[bot]
ff9a3ff49f
style: fix code formatting with black, isort, and flake8
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-12 03:21:41 +00:00
copilot-swe-agent[bot]
952e27b339
test: add tests for storage reorganization features
...
- Add tests for get_unique_filepath_with_counter collision handling
- Add tests for immutable original storage
- Add tests for metadata augmentation with file paths
- Add tests for force_cloud_ocr parameter
- Verify existing process_document tests still pass
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-11 20:13:17 +00:00
copilot-swe-agent[bot]
ee2a3390fd
test: add tests for encryption, uptime_kuma, filename_utils, logging, and celery_worker
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-08 18:54:31 +00:00