Personal AI, On Personal Devices
Python
fix: remove unused imports flagged by ruff across 5 files
krypticmousecaf0e59f16f0
diff --git a/tests/agents/test_deep_research_prompt.py b/tests/agents/test_deep_research_prompt.pyindex 93a01466..42979065 100644--- a/tests/agents/test_deep_research_prompt.py+++ b/tests/agents/test_deep_research_prompt.py@@ -4,9 +4,6 @@ from __future__ import annotationsimport refrom datetime import datetime-from unittest.mock import MagicMock--import pytestdef test_system_prompt_contains_current_date() -> None:diff --git a/tests/channels/test_slack_messaging.py b/tests/channels/test_slack_messaging.pyindex 7fe3a51e..122c43a0 100644--- a/tests/channels/test_slack_messaging.py+++ b/tests/channels/test_slack_messaging.py@@ -4,8 +4,6 @@ from __future__ import annotationsfrom unittest.mock import MagicMock, patch-import pytest-def test_slack_channel_connect_with_tokens() -> None:"""SlackChannel.connect() succeeds with bot_token + app_token."""diff --git a/tests/connectors/test_connector_health.py b/tests/connectors/test_connector_health.pyindex 03b8fd1d..9959d0e8 100644--- a/tests/connectors/test_connector_health.py+++ b/tests/connectors/test_connector_health.py@@ -6,12 +6,8 @@ status correctly, and has the required interface methods.from __future__ import annotations-from pathlib import Path-from typing import Any-import pytest-# All connectors that should be testable without credentials_LOCAL_CONNECTORS = [("apple_notes", "openjarvis.connectors.apple_notes", "AppleNotesConnector"),diff --git a/tests/server/test_sendblue_webhook.py b/tests/server/test_sendblue_webhook.pyindex 352ab2e0..7c3849e5 100644--- a/tests/server/test_sendblue_webhook.py+++ b/tests/server/test_sendblue_webhook.py@@ -6,14 +6,12 @@ full flow from incoming webhook -> bridge -> agent -> send response.from __future__ import annotations-import json-from unittest.mock import MagicMock, patch+from unittest.mock import MagicMockimport pytestfrom fastapi import FastAPIfrom starlette.testclient import TestClient-from openjarvis.channels._stubs import ChannelStatusfrom openjarvis.core.registry import ChannelRegistry