From 92194e2286cb6cd2e954bae3f9bae003d5a0e6fa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Feb 2026 16:26:00 +0000 Subject: [PATCH] fix: remove duplicate os.path.splitext patch decorator Remove accidentally duplicated patch decorator that was causing test parameter count mismatch Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- tests/test_upload_google_drive.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_upload_google_drive.py b/tests/test_upload_google_drive.py index 17e3567a..9cb4a8c1 100644 --- a/tests/test_upload_google_drive.py +++ b/tests/test_upload_google_drive.py @@ -297,7 +297,6 @@ class TestUploadToGoogleDriveTask: with pytest.raises(Exception, match="Failed to initialize Google Drive service"): upload_to_google_drive(mock_self, "/tmp/test.pdf") - @patch("app.tasks.upload_to_google_drive.os.path.splitext") @patch("app.tasks.upload_to_google_drive.os.path.splitext") @patch("app.tasks.upload_to_google_drive.os.path.basename") @patch("app.tasks.upload_to_google_drive.get_google_drive_service")