mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
core_file_for matches remaining core file types via filename prefix 🟥
This commit is contained in:
parent
3ef8a59122
commit
a2dc945bf3
1 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue