#!/bin/sh
set -e

# Run the unit tests outside of the source tree
cp -a tests pyproject.toml "$AUTOPKGTEST_TMP"/
cd $AUTOPKGTEST_TMP/

export PATH="$PATH:/usr/sbin:/sbin"
python3 -m pytest tests -k 'not TestJohnBinary and not test_setup_py_matches_pyproject'
