Source: python-docker Version: 7.1.0-2 Severity: wishlist Tags: patch X-Debbugs-Cc: [email protected]
Dear Maintainer, Please add this autopkgtest, it will be skipped in Debian as this test will need isolation-machine. But this will get executed in Ubuntu autopkgtests. This test was added in Ubuntu after one user reported this bug: https://bugs.launchpad.net/ubuntu/+bug/2061929 diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..524f496 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,3 @@ +Tests: use-docker.sh +Depends: docker.io, @ +Restrictions: needs-root isolation-machine diff --git a/debian/tests/use-docker.sh b/debian/tests/use-docker.sh new file mode 100755 index 0000000..720158e --- /dev/null +++ b/debian/tests/use-docker.sh @@ -0,0 +1,7 @@ +#!/bin/python3 + +import docker +import sys + +client = docker.from_env() +client.containers.list(all=True) -- Regards Sudip

