#!/usr/bin/env bash set -euo pipefail # Fast unit tests for trader-mcp. # Ensure local package import works. export PYTHONPATH="${PYTHONPATH:-}:$(pwd)" if [ -f .venv/bin/activate ]; then # shellcheck disable=SC1091 source .venv/bin/activate fi echo "Running unit pytest suite (trader-mcp)..." pytest -q tests/test_strategies.py tests/test_engine.py