mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
core_file_for identifies MTIP files via filename substring 🟥
This commit is contained in:
parent
46355be3f1
commit
176239475a
1 changed files with 11 additions and 0 deletions
|
|
@ -119,3 +119,14 @@ def test_core_file_for_ioe_substring_returns_improvement_option_evaluation() ->
|
|||
|
||||
# Assert
|
||||
assert result == CoreFiles.IMPROVEMENT_OPTION_EVALUATION
|
||||
|
||||
|
||||
def test_core_file_for_mtip_substring_returns_medium_term_improvement_plan() -> None:
|
||||
# Arrange
|
||||
filename = "60800802 - NG4 4HD - Medium Term Improvement Plan IOE.pdf"
|
||||
|
||||
# Act
|
||||
result = core_file_for(filename)
|
||||
|
||||
# Assert
|
||||
assert result == CoreFiles.MEDIUM_TERM_IMPROVEMENT_PLAN
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue