From b2e3048083bb48134ff3d9ded239e1867a4b3df0 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Thu, 19 Mar 2026 12:00:11 -0700 Subject: [PATCH] One more coverage --- src/paperless/tests/parsers/test_remote_parser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/paperless/tests/parsers/test_remote_parser.py b/src/paperless/tests/parsers/test_remote_parser.py index 3e58498c1..d0b9effba 100644 --- a/src/paperless/tests/parsers/test_remote_parser.py +++ b/src/paperless/tests/parsers/test_remote_parser.py @@ -20,6 +20,7 @@ from unittest.mock import Mock import pytest +from paperless.parsers import ParserContext from paperless.parsers import ParserProtocol from paperless.parsers.remote import RemoteDocumentParser @@ -302,6 +303,7 @@ class TestRemoteParserParse: sample_pdf_file: Path, azure_client: Mock, ) -> None: + remote_parser.configure(ParserContext()) remote_parser.parse(sample_pdf_file, "application/pdf") azure_client.close.assert_called_once()