From 315b90f8e5cadd2d7feca8390549595000096f15 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 11 Sep 2025 13:56:14 -0700 Subject: [PATCH] Add typing to assertContainsStrings test util --- src/paperless_remote/tests/test_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paperless_remote/tests/test_parser.py b/src/paperless_remote/tests/test_parser.py index d83baa140..aa9df6117 100644 --- a/src/paperless_remote/tests/test_parser.py +++ b/src/paperless_remote/tests/test_parser.py @@ -14,7 +14,7 @@ from paperless_remote.signals import get_parser class TestParser(DirectoriesMixin, FileSystemAssertsMixin, TestCase): SAMPLE_FILES = Path(__file__).resolve().parent / "samples" - def assertContainsStrings(self, content, strings): + def assertContainsStrings(self, content: str, strings: list[str]): # Asserts that all strings appear in content, in the given order. indices = [] for s in strings: