mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
extract no extensions 🟥
This commit is contained in:
parent
6b4a8dfef1
commit
da26e4a4cb
3 changed files with 10 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -280,7 +280,7 @@ cache/
|
|||
*.pptx
|
||||
*.csv
|
||||
*.xlsx
|
||||
*.pdf
|
||||
# *.pdf
|
||||
**/Chunks/
|
||||
*.ipynb
|
||||
|
||||
|
|
|
|||
BIN
backend/documents_parser/tests/fixtures/ExampleSiteNotes_2.pdf
vendored
Normal file
BIN
backend/documents_parser/tests/fixtures/ExampleSiteNotes_2.pdf
vendored
Normal file
Binary file not shown.
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue