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]
459e9fafc7
fix(test): fix OAuth integration tests and auth redirect status code
...
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-12 13:17:26 +00:00
copilot-swe-agent[bot]
e60c826efa
fix(test): remove mock_task from embed_metadata_into_pdf.__wrapped__() calls
...
__wrapped__ is a bound method where self is already the task instance,
so passing mock_task shifted all positional args causing TypeError.
Replace with direct assignment to embed_metadata_into_pdf.request.id.
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com >
2026-02-12 12:54:26 +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