test: add basic test suite for fojin_bridge, skill_writer, verify_sources (P1)

31 tests across 3 modules; all HTTP calls mocked, no real API dependencies.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
xianren
2026-04-05 08:07:34 +08:00
parent 6c6e19f2bc
commit 2a63a50ed3
6 changed files with 303 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
"""Shared pytest fixtures for Buddha-skill tests."""
import sys
import os
from pathlib import Path
# Add tools/ to path so tests can import modules
PROJECT_ROOT = Path(__file__).parent.parent
sys.path.insert(0, str(PROJECT_ROOT / "tools"))