surfaces/tests/adapter/telegram
Mikhail Putilovskij d5ab527f5d fix(tg): QA fixes — stream_message, topic_created, archive reply
- sdk/mock.py: stream_message was async def (coroutine), must be async
  generator with yield — caused TypeError on every user message
- topic_events.py: on_topic_created now skips bot-created topics
  (from_user.id == bot.id); cmd_new already registers them under the
  correct human user_id
- commands.py: cmd_archive now sends "Чат архивирован." confirmation
- test_topic_events.py: add bot=SimpleNamespace(id=BOT_ID) to fixture
2026-04-02 14:14:19 +03:00
..
__init__.py feat(tg): db schema (user_id,thread_id) PK + converter context_key 2026-04-02 13:21:15 +03:00
test_commands.py fix(tg): reviewer fixes — error handling, timeouts, db index 2026-04-02 13:44:59 +03:00
test_converter.py feat(tg): db schema (user_id,thread_id) PK + converter context_key 2026-04-02 13:21:15 +03:00
test_message.py fix(tg): reviewer fixes — error handling, timeouts, db index 2026-04-02 13:44:59 +03:00
test_topic_events.py fix(tg): QA fixes — stream_message, topic_created, archive reply 2026-04-02 14:14:19 +03:00