Merge pull request #259 from christianlouis/copilot/fix-pypdf2-module-issue

fix(test): update PyPDF2 patch references to pypdf in path traversal security test
This commit is contained in:
Christian Krakau-Louis
2026-02-12 04:23:32 +01:00
committed by GitHub
+2 -2
View File
@@ -144,8 +144,8 @@ class TestEmbedMetadataPathTraversal:
@patch("app.tasks.embed_metadata_into_pdf.SessionLocal")
@patch("app.tasks.embed_metadata_into_pdf.log_task_progress")
@patch("app.tasks.embed_metadata_into_pdf.finalize_document_storage")
@patch("PyPDF2.PdfReader")
@patch("PyPDF2.PdfWriter")
@patch("pypdf.PdfReader")
@patch("pypdf.PdfWriter")
def test_embed_metadata_full_flow_with_malicious_filename(
self,
mock_pdf_writer,