From e00658375b84083760955575dbaf845dedb5541c Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Thu, 26 Mar 2026 14:18:40 -0700 Subject: [PATCH] chore: remove dead archive_file_generation assignments from tests --- src/paperless/tests/parsers/test_tesseract_parser.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/paperless/tests/parsers/test_tesseract_parser.py b/src/paperless/tests/parsers/test_tesseract_parser.py index 088031766..bae3ca58b 100644 --- a/src/paperless/tests/parsers/test_tesseract_parser.py +++ b/src/paperless/tests/parsers/test_tesseract_parser.py @@ -397,7 +397,6 @@ class TestParsePdf: tesseract_parser: RasterisedDocumentParser, tesseract_samples_dir: Path, ) -> None: - tesseract_parser.settings.archive_file_generation = "always" tesseract_parser.parse( tesseract_samples_dir / "with-form.pdf", "application/pdf", @@ -557,7 +556,6 @@ class TestParseMultiPage: tesseract_parser: RasterisedDocumentParser, tesseract_samples_dir: Path, ) -> None: - tesseract_parser.settings.archive_file_generation = "always" tesseract_parser.parse( tesseract_samples_dir / "multi-page-digital.pdf", "application/pdf", @@ -585,7 +583,6 @@ class TestParseMultiPage: ) -> None: tesseract_parser.settings.pages = 2 tesseract_parser.settings.mode = mode - tesseract_parser.settings.archive_file_generation = "always" tesseract_parser.parse( tesseract_samples_dir / "multi-page-digital.pdf", "application/pdf", @@ -875,7 +872,6 @@ class TestParseMixed: - All pages extracted; archive created; sidecar notes skipped pages """ tesseract_parser.settings.mode = "auto" - tesseract_parser.settings.archive_file_generation = "always" tesseract_parser.parse( tesseract_samples_dir / "multi-page-mixed.pdf", "application/pdf",