#!/usr/bin/env bash set -euo pipefail export PYTHONPATH="${PYTHONPATH:-}:$(pwd)/src:$(pwd)" if [ -f .venv/bin/activate ]; then # shellcheck disable=SC1091 source .venv/bin/activate fi echo "Running unit pytest suite (hermes-mcp)..." if command -v pytest >/dev/null 2>&1; then pytest -q else python3 -m pytest -q fi