#!/bin/sh

set -e

cp -r tests ${AUTOPKGTEST_TMP}
cd ${AUTOPKGTEST_TMP}

echo "[pytest]" > pytest.ini
echo "asyncio_mode = auto" >> pytest.ini

for p in $(py3versions -s); do
  $p -m pytest tests --ignore=tests/sample_project/tests/test_selenium.py
done
