Files
LatteandClaude Opus 4.8 ef27cd85f6 Phase 0: FastMCP scaffold with ping tool
Set up the familiar package (src layout, uv/hatchling) with a FastMCP
server exposing a read-only ping health tool. Add pytest smoke tests with
80% coverage gate. Flesh out the README with the project vision and roadmap.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 17:34:51 +02:00

20 lines
445 B
Python

"""Phase 0 smoke tests."""
import asyncio
from familiar import __version__
from familiar.server import mcp, ping
def test_ping_reports_ok():
result = ping()
assert result["status"] == "ok"
assert result["server"] == "familiar"
assert result["version"] == __version__
assert "time_utc" in result
def test_server_exposes_ping_tool():
tools = asyncio.run(mcp.list_tools())
assert "ping" in {t.name for t in tools}