diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 17:45:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 17:45:10 +0000 |
commit | 8ffdcdb6f6cd595c9efedd0d02e351e88c19147b (patch) | |
tree | e12756d71ec73654e58151fd2872cfc50456d5e0 /debian/tests | |
parent | Adding upstream version 0.10.1. (diff) | |
download | python-netaddr-8ffdcdb6f6cd595c9efedd0d02e351e88c19147b.tar.xz python-netaddr-8ffdcdb6f6cd595c9efedd0d02e351e88c19147b.zip |
Adding debian version 0.10.1-1.debian/0.10.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-rw-r--r-- | debian/tests/control | 5 | ||||
-rw-r--r-- | debian/tests/unittests | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..a215d63 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,5 @@ +Tests: unittests +Depends: + @, + @builddeps@, +Restrictions: allow-stderr needs-root diff --git a/debian/tests/unittests b/debian/tests/unittests new file mode 100644 index 0000000..3578e0a --- /dev/null +++ b/debian/tests/unittests @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +PYTHON3S=$(py3versions -vr 2>/dev/null) +for i in ${PYTHON3S} ; do + python$i -m pytest -v netaddr/tests +done |