From a2dc945bf38005826a6bc713e3d93ca30b5a79e0 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Thu, 14 May 2026 08:43:41 +0000 Subject: [PATCH] =?UTF-8?q?core=5Ffile=5Ffor=20matches=20remaining=20core?= =?UTF-8?q?=20file=20types=20via=20filename=20prefix=20=F0=9F=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/pashub_fetcher/tests/test_core_files.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/backend/pashub_fetcher/tests/test_core_files.py b/backend/pashub_fetcher/tests/test_core_files.py index 7b991c23..f87d8679 100644 --- a/backend/pashub_fetcher/tests/test_core_files.py +++ b/backend/pashub_fetcher/tests/test_core_files.py @@ -141,3 +141,14 @@ def test_core_file_for_osm_pattern_returns_retrofit_design_doc_without_evidence_ # Assert assert result == CoreFiles.RETROFIT_DESIGN_DOC + + +def test_core_file_for_prefix_returns_photopack() -> None: + # Arrange + filename = "Photopack_123456_V1.pdf" + + # Act + result = core_file_for(filename) + + # Assert + assert result == CoreFiles.PHOTOPACK