chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:58:18 +08:00
commit 6d5d58c1a9
18293 changed files with 3502153 additions and 0 deletions
@@ -0,0 +1,20 @@
"""Pytest configuration for agno showcase unit tests.
Ensures both the package root (so ``import _shared.cvdiag_bootstrap`` resolves
via the ``_shared`` symlink at the package root) and ``src/`` (so
``agents._cvdiag_backend`` imports) are on ``sys.path``. The CVDIAG boundary
tests exercise only the pure-Python emit surface (``agents._cvdiag_backend`` +
``_shared.cvdiag_bootstrap``), so no heavy runtime deps (agno, the AG-UI
adapter) need stubbing here.
"""
import os
import sys
_HERE = os.path.dirname(__file__)
_PKG_ROOT = os.path.abspath(os.path.join(_HERE, "..", ".."))
# src/ holds agent_server.py and agents/
sys.path.insert(0, os.path.join(_PKG_ROOT, "src"))
# package root carries the ``_shared`` symlink → ../_shared
sys.path.insert(0, _PKG_ROOT)