#!/bin/sh
set -e

# Run the full test suite against installed package
# Copy test directory to a temporary location to avoid import conflicts
# (autopkgtest starts us in the source tree root)
cp -r test "$AUTOPKGTEST_TMP/"
cd "$AUTOPKGTEST_TMP"

# Run tests using the installed package (not the source tree)
python3 -m pytest -v test/
