#!/bin/sh
set -efu

cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

# There are tests that use twine source files as examples
ln -s /usr/lib/python3/dist-packages/twine .

python3 -m pytest tests --ignore tests/test_integration.py 2>&1
