diff options
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 |