#!/bin/sh
# Run python-cachetools unit tests using the default Python version. Assumes
# $ADTTMP is set, see /usr/share/doc/autopkgtest/README.package-tests.rst.gz
set -e

# We just copy the entire test suite to the $ADTTMP directory and run the
# tests from within there.
mkdir "$ADTTMP"/python
cp -r tests "$ADTTMP"/python/
cd "$ADTTMP"/python
python -m unittest discover -v
