[Python-modules-commits] [python-opcua] 01/01: add basic import tests (autopkgtest)

Wolfgang Borgert debacle at moszumanska.debian.org
Sun Oct 16 20:31:37 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to branch master
in repository python-opcua.

commit bd670c1da702df4386369fd9099b2011473e9d73
Author: W. Martin Borgert <debacle at debian.org>
Date:   Sun Oct 16 20:31:18 2016 +0000

    add basic import tests (autopkgtest)
---
 debian/changelog              | 7 +++++++
 debian/tests/basic-import-py2 | 3 +++
 debian/tests/basic-import-py3 | 3 +++
 debian/tests/control          | 1 +
 4 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e56ad9e..b096618 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-opcua (0.10.17-4) UNRELEASED; urgency=medium
+
+  [ W. Martin Borgert 2016-10-16 ]
+  * Add basic import tests (autopkgtest).
+
+ -- 
+
 python-opcua (0.10.17-3) unstable; urgency=medium
 
   * Fix description, esp. copy/paste from other package
diff --git a/debian/tests/basic-import-py2 b/debian/tests/basic-import-py2
new file mode 100755
index 0000000..7b5baa0
--- /dev/null
+++ b/debian/tests/basic-import-py2
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+python -c 'import opcua; print opcua.__doc__'
diff --git a/debian/tests/basic-import-py3 b/debian/tests/basic-import-py3
new file mode 100755
index 0000000..203e709
--- /dev/null
+++ b/debian/tests/basic-import-py3
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+python3 -c 'import opcua; print(opcua.__doc__)'
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..19fb8bc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Tests: basic-import-py2, basic-import-py3

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-opcua.git



More information about the Python-modules-commits mailing list