RandomZ / app /tests /test_photo_policy_aggregate.py
StormShadow308's picture
Prioritize production AI: photo vision fix, HF profile, and inspector on generate.
7fa723a
Raw
History Blame Contribute Delete
524 Bytes
"""Photo policy corpus aggregate signature (HF deploy compatibility)."""
from __future__ import annotations
from pathlib import Path
from app.services.photo_policy_corpus import aggregate_photo_stats_from_paths
def test_aggregate_accepts_positional_survey_level() -> None:
stats = aggregate_photo_stats_from_paths([], 3)
assert stats.files_total == 0
def test_aggregate_accepts_keyword_survey_level() -> None:
stats = aggregate_photo_stats_from_paths([], survey_level=2)
assert stats.files_total == 0