refactor backend module architecture

This commit is contained in:
jxxghp
2026-08-14 15:45:38 +08:00
parent 557cc0e2e3
commit 7b3444c366
716 changed files with 10378 additions and 7709 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ class TestSlashCommandInteractions(unittest.TestCase):
class TestUpdateOrPostMessage(unittest.TestCase):
def test_fallback_post_keeps_original_message_context(self):
"""编辑失败回退发新消息时,必须保留原消息/会话上下文,供渠道回复到原会话。"""
from app.helper.interaction import update_or_post_message
from app.messaging.interaction import update_or_post_message
chain = SimpleNamespace(
edit_message=MagicMock(return_value=False),