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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user