Spaces:
Sleeping
Sleeping
File size: 524 Bytes
7fa723a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | """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
|