Files
Hermes_rocket.chat_Plugin/plugin/archivar/tests
Bernd (Hermes) 281e0883a8 fix: V8.4.1 — Test-Fixture Fix für Keyword-Match target_room
Two fixes in test_v8_4.py:

1. _make_router() now uses a temp state file (/tmp/archivar_test_state.json)
   instead of the default ArchivarState() path. This isolates tests from
   persisted never_route entries that were blocking keyword-match routing.

2. test_red_flag_not_triggered_when_keyword_matches: changed test message
   from "Bitte dokumentiere das neue Feature" to "Bitte erstelle eine
   Dokumentation für das neue Feature" so the 100% keyword "dokumentation"
   actually appears as a substring (find_room_by_keywords uses substring
   matching, not stemming).

Result: 24/24 V8.4 tests passed. Full suite: 566 passed, 1 pre-existing
failure (test_no_env_vars — ARCHIVAR_PROJECT_ROOMS env var), 2 skipped.
2026-07-15 20:50:43 +02:00
..