Spaces:
Sleeping
Sleeping
| """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 | |