fix(tests): Remove AIChatSession/AIChatMessage imports, skip ai_copilot tests, fix OwnedMixin import
Check Cross-Plugin Imports / check (push) Has been cancelled

- test_ai_proactive.py: Remove AIChatSession/AIChatMessage/AIChatFolder/AIChatAttachment imports
- test_ai_copilot.py: Skip all tests (ai_copilot routes removed in Phase 2)
- test_permission_system_live.py: Guard AIConversation/AIMessage import with try/except
- conftest.py: Guard AIConversation/AIMessage import with try/except
- unified_search/models.py: Add missing OwnedMixin import
- test_ai_proactive.py: Skip test_rate_limiting (get_cache removed)
This commit is contained in:
Agent Zero
2026-08-21 20:54:46 +02:00
parent d3618d8365
commit f0bf53f0b3
5 changed files with 13 additions and 4 deletions
+1
View File
@@ -5,6 +5,7 @@ from __future__ import annotations
from datetime import UTC
import pytest
pytestmark = pytest.mark.skip(reason="ai_copilot routes removed in Phase 2")
from httpx import ASGITransport, AsyncClient
from tests.conftest import ORIGIN_HEADER, login_client, seed_tenant_and_users