fix(01-04): update matrix dispatcher and reaction tests

- rewrite invite/new-chat assertions for Space-based Matrix flow
- replace legacy reaction text checks with !skill on/off expectations
- validate confirmation text against !yes and !no prompts
This commit is contained in:
Mikhail Putilovskij 2026-04-02 23:00:50 +03:00
parent 0d85947a0b
commit 6f1bdb4077
2 changed files with 59 additions and 21 deletions

View file

@ -19,13 +19,14 @@ def test_build_skills_text():
text = build_skills_text(settings)
assert "web-search" in text
assert "fetch-url" in text
assert "Реакции 1⃣-9" in text
assert "!skill on/off" in text
def test_build_confirmation_text():
text = build_confirmation_text("Отправить письмо?")
assert "Отправить письмо?" in text
assert "подтвердить" in text
assert "!yes" in text
assert "!no" in text
def test_reaction_to_skill_index():