"""预审规则冒烟测试:确保核心预审逻辑可用。""" import os import sys # 确保 scripts 在路径中 scripts_dir = os.path.join(os.path.dirname(__file__), "..", "scripts") if scripts_dir not in sys.path: sys.path.insert(0, scripts_dir) def test_import_constants(): """常量模块能正常导入。""" from util.constants import SKILL_SLUG, SKILL_VERSION assert SKILL_SLUG == "verify-invoice-default" assert SKILL_VERSION def test_import_prereview(): """预审服务能正常导入。""" from service.prereview_service import run_prereview assert callable(run_prereview)