Add 10 new tests covering the three previously untested flag paths: - zero_feedback: flag fires + composite capped at 35 even with all-20 signals - long_on_market: fires at >=5 sightings + >=14 days; NOT at <5 sightings or <14 days - significant_price_drop: fires at >=20% below first-seen; NOT at <20% or no prior price - established_retailer: duplicate_photo suppressed at feedback>=1000; fires below threshold Also fix datetime.utcnow() deprecation in aggregator._days_since() and test helper — replaced with timezone-aware datetime.now(timezone.utc) throughout. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| aggregator.py | ||
| metadata.py | ||
| photo.py | ||