mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
core_file_for falls back to OSM filename pattern for Retrofit Design Doc 🟥
This commit is contained in:
parent
4d3d6dba05
commit
e940e75a43
1 changed files with 11 additions and 0 deletions
|
|
@ -130,3 +130,14 @@ def test_core_file_for_mtip_substring_returns_medium_term_improvement_plan() ->
|
|||
|
||||
# Assert
|
||||
assert result == CoreFiles.MEDIUM_TERM_IMPROVEMENT_PLAN
|
||||
|
||||
|
||||
def test_core_file_for_osm_pattern_returns_retrofit_design_doc_without_evidence_category() -> None:
|
||||
# Arrange
|
||||
filename = "2512-OSM-H21M900-XX-DR-N-A_Lord Nelson Street 018.pdf"
|
||||
|
||||
# Act
|
||||
result = core_file_for(filename)
|
||||
|
||||
# Assert
|
||||
assert result == CoreFiles.RETROFIT_DESIGN_DOC
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue