[python-pyds9] 01/01: Add astropy dependency to CI test

Ole Streicher olebole at moszumanska.debian.org
Thu May 28 13:34:18 UTC 2015


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

olebole pushed a commit to branch debian
in repository python-pyds9.

commit 4e2d66421d11e4f965008881d75f084e7b57a98c
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Thu May 28 15:32:41 2015 +0200

    Add astropy dependency to CI test
---
 debian/changelog        | 6 ++++++
 debian/tests/control    | 2 +-
 debian/tests/pyds9-test | 4 +++-
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index eff426f..3542a25 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-pyds9 (1.7-4) unstable; urgency=low
+
+  * Add astropy dependency to CI test
+
+ -- Ole Streicher <olebole at debian.org>  Thu, 28 May 2015 15:31:47 +0200
+
 python-pyds9 (1.7-3) unstable; urgency=low
 
   * Correct dependency of CI test
diff --git a/debian/tests/control b/debian/tests/control
index 3e9f299..08dabc4 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,2 @@
 Tests: pyds9-test
-Depends: python-pyds9, saods9, xauth, xpa-tools, xvfb
+Depends: python-astropy, python-pyds9, saods9, xauth, xpa-tools, xvfb
diff --git a/debian/tests/pyds9-test b/debian/tests/pyds9-test
index 582ca9c..160a0a8 100755
--- a/debian/tests/pyds9-test
+++ b/debian/tests/pyds9-test
@@ -8,8 +8,10 @@ cp test.fits "${ADTTMP}"
 cd "${ADTTMP}"
 
 xvfb-run --server-args="-screen 0 1024x768x24" python <<EOF
+import time
 import ds9
-d = ds9.ds9()
+d = ds9.ds9('test')
+time.sleep(1)
 print ds9.ds9_targets()
 d.set('file test.fits')
 hdul = d.get_pyfits()

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



More information about the debian-science-commits mailing list