fix: pybot 审计修复——插件异常类型、I2C 引用校验、卡尔曼除零守卫、CLI 端到端测试

This commit is contained in:
qing committed 2026-08-10 16:16:40 +00:00
1 parent 09dc36d591
commit a8ffa73a6b
6 files changed
+70 -6

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ def test_missing_protocol_function(tmp_path, monkeypatch):
(tmp_path / "Broken.py").write_text(
"def build(ctx): return {}\n", encoding="utf-8")
monkeypatch.setenv("PYBOT_MODULES_PATH", str(tmp_path))
with pytest.raises(plugin.PluginNotFound):
with pytest.raises(plugin.PluginProtocolError):
plugin.load_module("Broken")