Personal AI, On Personal Devices
Python
fix: guard fastapi import in test_sendblue_webhook.py with importorskip
krypticmouse76aab9c2693c
diff --git a/tests/server/test_sendblue_webhook.py b/tests/server/test_sendblue_webhook.pyindex 7c3849e5..375447b4 100644--- a/tests/server/test_sendblue_webhook.py+++ b/tests/server/test_sendblue_webhook.py@@ -9,10 +9,13 @@ from __future__ import annotationsfrom unittest.mock import MagicMockimport pytest-from fastapi import FastAPI-from starlette.testclient import TestClient-from openjarvis.core.registry import ChannelRegistry+pytest.importorskip("fastapi", reason="openjarvis[server] not installed")++from fastapi import FastAPI # noqa: E402+from starlette.testclient import TestClient # noqa: E402++from openjarvis.core.registry import ChannelRegistry # noqa: E402@pytest.fixture(autouse=True)