Implement export_report_xlsx(report) -> bytes: renders a SiteFinderReport (#987) to .xlsx via openpyxl, one sheet per §13 section (Сводка/Рынок сейчас/Будущий рынок/Продукт ТЗ/Сценарии/Скоринг). Deterministic, no LLM/DB/network; bytes via BytesIO (no disk I/O). Accepts SiteFinderReport or its as_dict(). Graceful on partial/empty/junk ("нет данных", never crashes). ADVISORY marker on Сводка. 11 tests (openpyxl reload, sheet titles, known cells, graceful). Additive — no endpoint wiring (#959) or other exporters (#989). |
||
|---|---|---|
| .. | ||
| api | ||
| integration | ||
| scrapers | ||
| services | ||
| smoke | ||
| sql | ||
| workers | ||
| __init__.py | ||
| test_admin_weight_profiles.py | ||
| test_concepts_stub.py | ||
| test_gate_verdict.py | ||
| test_health.py | ||
| test_layout_signature.py | ||
| test_layout_tz_pdf.py | ||
| test_nspd_client.py | ||
| test_nspd_sync.py | ||
| test_ping.py | ||
| test_poi_score.py | ||
| test_quarter_dump_lookup.py | ||
| test_rbac.py | ||
| test_sentry_init.py | ||
| test_velocity.py | ||
| test_weight_profiles.py | ||