[med-svn] [SCM] python-csb branch, master, updated. 94b2e52dabfda509172ab220d9f9e14c7fd23edf

Tomas Di Domenico tdido at tdido.com.ar
Thu Dec 6 21:11:39 UTC 2012


The following commit has been merged in the master branch:
commit 4b78a19754577dc3cd747630a365456a73ee9fb2
Author: Tomas Di Domenico <tdido at tdido.com.ar>
Date:   Thu Dec 6 19:03:24 2012 +0100

    Added DEP8 testing

diff --git a/debian/control b/debian/control
index b5d68bf..d1b6745 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Homepage: http://csb.codeplex.com/
 Vcs-Git: git://git.debian.org/debian-med/python-csb.git
 Vcs-Browser: http://git.debian.org/?p=debian-med/python-csb.git
 X-Python-Version: >= 2.6
+XS-Testsuite: autopkgtest
 
 Package: python-csb
 Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..2e793fb
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: python-csb
+Depends: python-csb,python-unittest2
diff --git a/debian/tests/python-csb b/debian/tests/python-csb
new file mode 100644
index 0000000..6ac785b
--- /dev/null
+++ b/debian/tests/python-csb
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -eu
+
+cp -r csb/test "$ADTTMP/"
+
+cd "$ADTTMP"
+for python in $(pyversions -i); do
+    PYTHONWARNINGS=d $python test/app.py 2>&1
+done

-- 
Packaging of python-csb



More information about the debian-med-commit mailing list