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
fix(test): update load_config mock to accept config_path parameter
masterlyj11ba733ab6d3
diff --git a/tests/channels/test_channel_plugins.py b/tests/channels/test_channel_plugins.pyindex a0b458a08..93bf7f1d0 100644--- a/tests/channels/test_channel_plugins.py+++ b/tests/channels/test_channel_plugins.py@@ -208,7 +208,7 @@ def test_channels_login_uses_discovered_plugin_class(monkeypatch):seen["config"] = self.configreturn True- monkeypatch.setattr("nanobot.config.loader.load_config", lambda: Config())+ monkeypatch.setattr("nanobot.config.loader.load_config", lambda config_path=None: Config())monkeypatch.setattr("nanobot.channels.registry.discover_all",lambda: {"fakeplugin": _LoginPlugin},