Package: pyptlib Version: 0.0.5-1 Tags: patch User: [email protected] Usertags: origin-ubuntu ubuntu-patch trusty
Hello, pyptlib's autopkgtest fails [1]: | Traceback (most recent call last): | File "pyptlib/test/test_client.py", line 6, in <module> | from pyptlib.test.test_core import PluginCoreTestMixin | ImportError: No module named test.test_core | adt-run1: testbed executing test finished with exit status 1 | adt-run: & dsc0t-upstream-tests: ----------------------------------------] | adt-run: & dsc0t-upstream-tests: - - - - - - - - - - results - - - - - - - - - - | dsc0t-upstream-tests FAIL non-zero exit status 1 Attached debdiff fixes this by making the test find the test module. Thanks for considering, Martin [1] https://jenkins.qa.ubuntu.com/job/trusty-adt-pyptlib/1/ARCH=amd64,label=adt/ -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
diff -Nru pyptlib-0.0.5/debian/changelog pyptlib-0.0.5/debian/changelog --- pyptlib-0.0.5/debian/changelog 2013-10-03 22:23:57.000000000 +0200 +++ pyptlib-0.0.5/debian/changelog 2013-10-28 13:47:57.000000000 +0100 @@ -1,3 +1,10 @@ +pyptlib (0.0.5-1ubuntu1) trusty; urgency=low + + * debian/tests/upstream-tests: Add pyptlib/test/ to PYTHONPATH so that the + autopkgtest can find test.test_core. + + -- Martin Pitt <[email protected]> Mon, 28 Oct 2013 13:47:28 +0100 + pyptlib (0.0.5-1) unstable; urgency=low * New upstream version. diff -Nru pyptlib-0.0.5/debian/tests/upstream-tests pyptlib-0.0.5/debian/tests/upstream-tests --- pyptlib-0.0.5/debian/tests/upstream-tests 2013-10-03 22:23:57.000000000 +0200 +++ pyptlib-0.0.5/debian/tests/upstream-tests 2013-10-28 13:47:23.000000000 +0100 @@ -2,6 +2,8 @@ set -e +export PYTHONPATH=`pwd`/pyptlib/test:$PYTHONPATH + for test in $(find pyptlib/test -type f -name 'test_*.py'); do python $test done
signature.asc
Description: Digital signature

