Commit Graph

5 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] b03ebab747 chore: apply ruff formatting and fix whitespace issues
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-13 09:12:11 +00:00
copilot-swe-agent[bot] 7c83a78a77 test: plan to increase coverage from 60.58% to 70%+ by targeting all files below 70%
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-12 09:26:57 +00:00
copilot-swe-agent[bot] 4c78c8a23c feat(tests): Add comprehensive unit test scaffolding for low-coverage API modules
Created 7 new test files with 158 unit tests:
- test_api_settings_extended.py (24 tests)
- test_api_diagnostic_extended.py (22 tests)
- test_api_openai_extended.py (19 tests)
- test_api_azure_extended.py (21 tests)
- test_api_dropbox_extended.py (28 tests)
- test_api_google_drive_extended.py (26 tests)
- test_api_onedrive_extended.py (18 tests)

Tests cover:
- Success paths for all endpoints
- Error handling and exceptions
- Edge cases and validation
- Logging behavior
- External API mocking
- Configuration variations

All tests pass with proper mocking infrastructure.
Tests ready for expansion to achieve 70%+ coverage targets.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-12 04:21:24 +00:00
copilot-swe-agent[bot] 8e8a64969f feat: add comprehensive unit tests for tasks and auth modules
- Add test_extract_metadata_gpt.py with 16 tests (7 passing)
- Add test_convert_pdf.py with 13 tests achieving 90.56% coverage
- Add test_embed_pdf_metadata.py with 10 tests achieving 46.81% coverage
- Add test_finalize_storage.py with 9 tests
- Add test_auth_module.py with 14 tests achieving 43.48% coverage

Coverage improvements:
- convert_to_pdf: 10% → 90.56%
- embed_metadata_into_pdf: 14.89% → 46.81%
- extract_metadata_with_gpt: 21.84% → 36.78%
- auth.py: 27.83% → 43.48%

43 tests passing, working on fixing remaining tests for full coverage

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-12 04:00:05 +00:00
copilot-swe-agent[bot] c654b829ac test: plan to increase test coverage from 57.78% to >80%
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-12 03:35:02 +00:00