copilot-swe-agent[bot]
5c18f4c02b
feat(tests): add comprehensive unit tests for Tier 1 high-impact files
Add comprehensive unit tests bringing coverage from ~10% to 70-83%:
- app/api/files.py: 11.75% → 69.69% (+58%)
- app/views/files.py: 8.77% → 82.14% (+73%)
- app/api/google_drive.py: 9.45% → 83.64% (+74%)
- app/api/onedrive.py: 10.51% → 82.88% (+72%)
Test coverage includes:
- All API endpoints with success and error cases
- Input validation and edge cases
- Proper mocking of external dependencies (DB, Celery, OAuth)
- Error handling and exception paths
- Helper functions and utility methods
All tests follow existing patterns and use @pytest.mark.unit decorator.
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-02-12 09:39:02 +00:00
..
2025-03-26 16:27:36 +00:00
2026-02-12 02:08:50 +00:00
2026-02-12 03:21:41 +00:00
2026-02-11 18:03:47 +00:00
2026-02-10 15:53:11 +00:00
2026-02-12 04:21:24 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 04:21:24 +00:00
2026-02-12 04:21:24 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 09:39:02 +00:00
2026-02-12 09:39:02 +00:00
2026-02-12 04:21:24 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 09:39:02 +00:00
2026-02-12 04:21:24 +00:00
2026-02-12 04:21:24 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 04:21:24 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-08 08:16:54 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 04:00:05 +00:00
2026-02-11 16:50:37 +00:00
2026-02-12 02:54:46 +00:00
2026-02-12 03:44:23 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:44:23 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 04:00:05 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 04:00:05 +00:00
2026-02-09 21:19:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 02:52:17 +00:00
2026-02-12 04:00:05 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 02:54:46 +00:00
2026-02-11 23:32:29 +01:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 02:52:17 +00:00
2026-02-12 03:21:41 +00:00
2026-02-10 10:56:54 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 04:00:05 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:44:23 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-09 20:56:35 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 04:24:04 +01:00
2026-02-12 02:54:46 +00:00
2026-02-07 15:03:17 +00:00
2026-02-12 03:44:23 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-09 15:14:40 +00:00
2026-02-10 14:10:23 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:44:23 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-09 20:55:53 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 09:39:02 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00
2026-02-12 03:21:41 +00:00