Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
test(qq): check SDK availability at the runtime module
KDB9d106bd44de0
diff --git a/nanobot/channels/qq/tests/test_qq_ack_message.py b/nanobot/channels/qq/tests/test_qq_ack_message.pyindex cfda182b8..b698225b9 100644--- a/nanobot/channels/qq/tests/test_qq_ack_message.py+++ b/nanobot/channels/qq/tests/test_qq_ack_message.py@@ -13,7 +13,7 @@ from types import SimpleNamespaceimport pytesttry:- from nanobot.channels import qq+ from nanobot.channels.qq import runtime as qqQQ_AVAILABLE = getattr(qq, "QQ_AVAILABLE", False)except ImportError:diff --git a/nanobot/channels/qq/tests/test_qq_channel.py b/nanobot/channels/qq/tests/test_qq_channel.pyindex 625dfa867..de31d391f 100644--- a/nanobot/channels/qq/tests/test_qq_channel.py+++ b/nanobot/channels/qq/tests/test_qq_channel.py@@ -7,7 +7,7 @@ import pytest# Check optional QQ dependencies before running teststry:- from nanobot.channels import qq+ from nanobot.channels.qq import runtime as qqQQ_AVAILABLE = getattr(qq, "QQ_AVAILABLE", False)except ImportError:QQ_AVAILABLE = Falsediff --git a/nanobot/channels/qq/tests/test_qq_media.py b/nanobot/channels/qq/tests/test_qq_media.pyindex 57cfc752d..4082838fd 100644--- a/nanobot/channels/qq/tests/test_qq_media.py+++ b/nanobot/channels/qq/tests/test_qq_media.py@@ -6,7 +6,7 @@ from unittest.mock import AsyncMock, patchimport pytesttry:- from nanobot.channels import qq+ from nanobot.channels.qq import runtime as qqQQ_AVAILABLE = getattr(qq, "QQ_AVAILABLE", False)except ImportError: