mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
17 lines
482 B
Python
17 lines
482 B
Python
from infrastructure.postgres.uploaded_file_table import (
|
|
FileSourceEnum,
|
|
FileTypeEnum,
|
|
UploadedFile,
|
|
)
|
|
|
|
|
|
def test_file_type_enum_has_ventilation_audit() -> None:
|
|
assert FileTypeEnum.VENTILATION_AUDIT.value == "ventilation_audit"
|
|
|
|
|
|
def test_file_source_enum_has_audit_generator() -> None:
|
|
assert FileSourceEnum.AUDIT_GENERATOR.value == "audit_generator"
|
|
|
|
|
|
def test_uploaded_file_is_importable() -> None:
|
|
assert UploadedFile.__tablename__ == "uploaded_files"
|