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. |
||
|---|---|---|
| .. | ||
| db | ||
| platforms | ||
| test_tasks | ||
| trust | ||
| ui | ||
| __init__.py | ||
| test_api_search_build.py | ||
| test_ebay_categories.py | ||
| test_feedback.py | ||
| test_query_translator.py | ||
| test_tiers.py | ||