From 69cb16c522f4571f6171a7352aff3fa7efe94de4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 25 Feb 2026 15:43:40 +0000 Subject: [PATCH] style: apply ruff auto-fix - Auto-formatted code with ruff format - Applied ruff linting fixes with --fix Co-authored-by: github-actions[bot] --- tests/test_api_google_drive_coverage2.py | 1 - tests/test_api_onedrive_coverage.py | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/test_api_google_drive_coverage2.py b/tests/test_api_google_drive_coverage2.py index 3b66b0e4..8215d8f5 100644 --- a/tests/test_api_google_drive_coverage2.py +++ b/tests/test_api_google_drive_coverage2.py @@ -139,7 +139,6 @@ class TestTestTokenOuterException: def test_test_token_outer_exception(self, client: TestClient): """Trigger the outermost exception handler in test_google_drive_token.""" - from app.config import settings # Patch getattr on settings to raise on the first call within the try block with patch("app.api.google_drive.getattr", side_effect=Exception("unexpected error")): diff --git a/tests/test_api_onedrive_coverage.py b/tests/test_api_onedrive_coverage.py index 75c89112..10f1b314 100644 --- a/tests/test_api_onedrive_coverage.py +++ b/tests/test_api_onedrive_coverage.py @@ -5,7 +5,6 @@ Focuses on uncovered lines: 98-99, 121-143, 160-161, 170-171, 324-326, 400-402, 436-438. """ -import os from unittest.mock import MagicMock, patch import pytest