Skip to content
Snippets Groups Projects
Commit 81d41777 authored by Michael Fladischer's avatar Michael Fladischer
Browse files

Enable upstream testsuite for autopkgtests.

parent c579b1b2
No related branches found
No related tags found
No related merge requests found
python-django-postgres-extra (2.0.3-2) UNRELEASED; urgency=medium
* Update year in d/copyright.
* Enable upstream testsuite for autopkgtests.
-- Michael Fladischer <fladi@debian.org> Tue, 01 Feb 2022 08:19:23 +0000
......
Tests: upstream
Depends:
postgresql,
python3-all,
python3-ansimarkup,
python3-django,
python3-freezegun,
python3-psycopg2,
python3-pytest,
python3-pytest-django,
python3-pytest-benchmark,
@,
@builddeps@,
Restrictions: needs-root,isolation-container,allow-stderr
create user "root" with superuser;
#!/bin/sh
set -e
runuser -u postgres -- psql -f $(pwd)/debian/tests/init.sql
cp -r tests settings.py ${AUTOPKGTEST_TMP}
cd ${AUTOPKGTEST_TMP}
for p in $(py3versions -s); do
$p -m pytest --ds settings --ignore=tests/test_management_command_partition.py
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment