mirror of
https://github.com/Heretek-AI/AetherTable.git
synced 2026-11-12 12:51:07 -10:00
pytest 'live' marker + conftest auto-skip unless LLM_KEY is set AND RUN_LIVE_LLM=1 — structurally CI-proof. Six tests exercise the REAL endpoint: mechanical/safety classification provenance, Concordia generator-marker-vs-reality (a template marker while the endpoint is alive FAILS), strict-JSON parsing, soft 60s latency budget, and a gate proving non-mock configuration. Connection failures degrade to SKIP. First live run surfaced two real integration bugs, reported honestly as skips rather than fabricated passes: .env named a nonexistent model that hangs instead of 404ing (fixed in .env), and the endpoint returns text/event-stream even for non-streaming calls which breaks resp.json() (fix iteration pending). Default suite unchanged: 406 passed / 8 skips. Co-Authored-By: Claude <[email protected]>
30 lines
744 B
TOML
30 lines
744 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "vtt-orchestrator"
|
|
version = "0.1.0"
|
|
description = "Multi-Agent Narrative Orchestration and Invariant Auditing Engine for AI VTT"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"pydantic>=2.6.0",
|
|
"fastapi>=0.110.0",
|
|
"uvicorn>=0.28.0",
|
|
"httpx>=0.27.0",
|
|
"redis>=5.0.0",
|
|
"asyncpg>=0.30.0",
|
|
"numpy>=1.26.0",
|
|
"reportlab>=4.0.0",
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.23.0",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
markers = [
|
|
"live: requires the configured external LLM endpoint and network (opt-in via LLM_KEY + RUN_LIVE_LLM=1; never runs in CI)",
|
|
]
|