Commit eb5ba938 authored by Martin Pitt's avatar Martin Pitt
Browse files

Add simple autopkgtest for python3-systemd

parent 44bbbcf9
......@@ -24,6 +24,7 @@ systemd (208-7) UNRELEASED; urgency=medium
* Build python3-systemd for Python 3 bindings. Drop python-systemd; it does
not have any reverse dependencies, and we want to encourage moving to
Python 3. (LP: #1258089)
* Add simple autopkgtest for python3-systemd.
-- Michael Biebl <biebl@debian.org> Thu, 17 Jul 2014 00:48:14 +0200
......
......@@ -4,3 +4,6 @@ Restrictions: needs-root isolation-machine
Tests: build-login
Depends: libsystemd-login-dev, build-essential, pkg-config
Tests: python3
Depends: python3-systemd
#!/usr/bin/python3
import uuid
import systemd.id128
u = systemd.id128.randomize()
assert isinstance(u, uuid.UUID)
print('UUID:', u)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment