Parcourir la source

chore: 删除 tests/ 空壳目录

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
WangXuMing il y a 2 semaines
Parent
commit
ccf1862e3b
3 fichiers modifiés avec 0 ajouts et 26 suppressions
  1. 0 26
      tests/conftest.py
  2. 0 0
      tests/integration/conftest.py
  3. 0 0
      tests/unit/conftest.py

+ 0 - 26
tests/conftest.py

@@ -1,26 +0,0 @@
-"""全局测试 fixtures。"""
-import pytest
-
-
-@pytest.fixture(scope="session")
-def config_handler():
-    """会话级:配置读取器。"""
-    from foundation.infrastructure.config.config import config_handler
-    return config_handler
-
-
-@pytest.fixture(scope="session")
-def model_handler():
-    """会话级:模型客户端管理器。"""
-    from foundation.ai.models.model_handler import model_handler
-    return model_handler
-
-
-@pytest.fixture
-async def redis_client():
-    """函数级:Redis 连接(测试后自动清理)。"""
-    from foundation.infrastructure.cache import RedisConnectionFactory
-    client = RedisConnectionFactory.get()
-    yield client
-    for key in client.keys("test:*"):
-        client.delete(key)

+ 0 - 0
tests/integration/conftest.py


+ 0 - 0
tests/unit/conftest.py