ForcePilot/backend/test/unit/channels/adapters/conftest.py
Kris 1022121bee test: add batch of unit tests for channels module
添加了channels限界上下文的大量单元测试文件,包括:
1. 各层级通用与专用的conftest夹具
2. 核心领域模型、事件、服务测试
3. 应用层流水线、扩展处理器测试
4. 适配器与插件层测试
5. 修复并补充了pool manager测试用例
2026-07-02 03:28:19 +08:00

12 lines
470 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""channels adapters 层单元测试 conftest。
adapter 测试通常在各自测试文件内自建桩AsyncSession 桩 / Redis 桩 /
httpx 桩注入),不在此处提供跨文件共享 fixture避免桩配置与具体 adapter
实现耦合。若后续出现多 adapter 共用的桩(如通用 AsyncSession 工厂),
可在此补充。
参见 testing-guidelines.md单文件独有 helper 保留在测试文件内。
"""
from __future__ import annotations