what_to_wear/tests
Nora aae8c38a20 security(gate3): Security-Review-Haertung ueber 4 Pakete (luna-pro)
Phase 6 / Gate 3 — Security-Review auf den fertigen Code, 4 thematische Pakete:
- P1 Secrets+Injection (client/phraser/diagnostics): validate haertet URL/Entity/
  Unicode-Umgehungen (// , &entity; , Cc/Cf/Zl/Zp); kein Key-Leak.
- P2 XSS+externe (card/ha_entity/frontend): kein XSS; DoS-Caps (Forecast 400, Karte 60).
- P3 Mutator+Startup (coordinator/__init__/const): nicht-blockierender Startup via
  Background-Task, LLM-/Store-Ops defensiv, weather_entity_id-Guard, build_items
  NaN/inf+Caps, Warn-Log ohne Secret.
- P4 Flows (config_flow): test_entity exception-frei, _clean_item defensiv, finite
  Bandgrenzen + sanitized_options-Normalisierung, echte bool-Coercion, Typ-Log.
- 24 Findings, 14 uebernommen (mit Regressionstests), 10 verworfen mit Evidenz.
  Suite gruen 188/188. Gate 3 BESTANDEN.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 16:01:31 +00:00
..
logic security(gate3): Security-Review-Haertung ueber 4 Pakete (luna-pro) 2026-07-13 16:01:31 +00:00
__init__.py feat(1.1): Skeleton, pure-core Datenmodell, Options-Schema & Layering-Guard 2026-07-13 13:20:42 +00:00
conftest.py feat(2.5): Blueprints Push & TTS — Epic 2 komplett 2026-07-13 14:55:01 +00:00
test_blueprints.py feat(2.5): Blueprints Push & TTS — Epic 2 komplett 2026-07-13 14:55:01 +00:00
test_config_flow.py feat(1.8): Config-Flow (Test-Abruf, 4 Fehler) + Entry-Lebenszyklus 2026-07-13 14:15:45 +00:00
test_const_schema.py feat(1.1): Skeleton, pure-core Datenmodell, Options-Schema & Layering-Guard 2026-07-13 13:20:42 +00:00
test_coordinator.py feat(1.7): Coordinator (einziger Mutator) + reine Pipeline/Zieldatum 2026-07-13 14:05:57 +00:00
test_diagnostics.py feat(4.4): Diagnostics-Whitelist — Epic 4 komplett 2026-07-13 15:34:17 +00:00
test_e2e_golden_path.py feat(5.3): README, E2E-Verifikation & Release-Doku — alle Stories fertig 2026-07-13 15:43:31 +00:00
test_example_set.py feat(2.2): Beispiel-Kleiderschrank (12 §8-Stücke beim Setup) 2026-07-13 14:36:43 +00:00
test_frontend_card.py feat(2.3): read-only Lovelace-Karte + Auto-Registrierung 2026-07-13 14:43:01 +00:00
test_i18n.py feat(5.1): vollstaendige i18n-Validierung (de/en-Paritaet) 2026-07-13 15:35:43 +00:00
test_layering.py feat(1.1): Skeleton, pure-core Datenmodell, Options-Schema & Layering-Guard 2026-07-13 13:20:42 +00:00
test_llm_client.py feat(4.3): LLM-Client (raw-HTTP, gehaertet) & Ton-Fallback 2026-07-13 15:30:20 +00:00
test_llm_options.py security(gate3): Security-Review-Haertung ueber 4 Pakete (luna-pro) 2026-07-13 16:01:31 +00:00
test_migration.py security(gate3): Security-Review-Haertung ueber 4 Pakete (luna-pro) 2026-07-13 16:01:31 +00:00
test_options_flow.py feat(3.1): Options-Flow (Schwellen, Offset, Umschaltzeit, Entität) 2026-07-13 15:04:14 +00:00
test_release_docs.py feat(5.3): README, E2E-Verifikation & Release-Doku — alle Stories fertig 2026-07-13 15:43:31 +00:00
test_release_metadata.py feat(5.2): CI-Matrix, HACS/Brands/Lizenz-Konformitaet 2026-07-13 15:38:30 +00:00
test_sensor.py feat(1.9): Sensor sensor.what_to_wear — Epic 1 komplett 2026-07-13 14:20:07 +00:00
test_service.py feat(2.4): Service what_to_wear.recommend (OPTIONAL-Response + Event) 2026-07-13 14:48:01 +00:00
test_subentry_flow.py feat(2.1): Kleidungsstücke verwalten (ItemSubentryFlow) 2026-07-13 14:29:52 +00:00
test_weather_adapter.py feat(1.6): Wetter-Adapter — WeatherProvider-Port + HA-Entitaet 2026-07-13 13:57:32 +00:00