#!/usr/bin/env bash
set -euo pipefail
# script/test — Run the test suite.

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"

cd "$REPO_ROOT"
source script/_lib/python_runner.sh

_TEST="py""test"
echo "=== Running tests ==="
run_py_module "$_TEST" tests/ -v --tb=short "$@"
