mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
core_file_for identifies IOE files via filename substring 🟥
This commit is contained in:
parent
e312dd2614
commit
9bbd5f1ff9
1 changed files with 11 additions and 0 deletions
|
|
@ -108,3 +108,14 @@ def test_core_file_for_evidence_category_returns_retrofit_design_doc() -> None:
|
||||||
|
|
||||||
# Assert
|
# Assert
|
||||||
assert result == CoreFiles.RETROFIT_DESIGN_DOC
|
assert result == CoreFiles.RETROFIT_DESIGN_DOC
|
||||||
|
|
||||||
|
|
||||||
|
def test_core_file_for_ioe_substring_returns_improvement_option_evaluation() -> None:
|
||||||
|
# Arrange
|
||||||
|
filename = "6000802 - NG4 4HD - Improvement Option Evaluation.pdf"
|
||||||
|
|
||||||
|
# Act
|
||||||
|
result = core_file_for(filename)
|
||||||
|
|
||||||
|
# Assert
|
||||||
|
assert result == CoreFiles.IMPROVEMENT_OPTION_EVALUATION
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue