extract no extensions 🟥

This commit is contained in:
Daniel Roth 2026-04-21 10:53:14 +00:00
parent 6b4a8dfef1
commit da26e4a4cb
3 changed files with 10 additions and 1 deletions

2
.gitignore vendored
View file

@ -280,7 +280,7 @@ cache/
*.pptx
*.csv
*.xlsx
*.pdf
# *.pdf
**/Chunks/
*.ipynb

Binary file not shown.

View file

@ -123,6 +123,15 @@ class TestGeneral:
)
class TestGeneralNoExtensions:
@pytest.fixture
def general(self) -> General:
return PasHubRdSapSiteNotesExtractor(load_text_fixture_2()).extract_general()
def test_number_of_extensions_when_no_extensions(self, general: General) -> None:
assert general.number_of_extensions == 0
class TestBuildingConstruction:
@pytest.fixture
def construction(self) -> BuildingConstruction: