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>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-13 16:26:00 +00:00
parent ddad5f222b
commit 92194e2286
-1
View File
@@ -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")