diff --git a/debian/changelog b/debian/changelog index 99b36fd..8f4b416 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-cx-oracle (7.1-0kali4) kali-dev; urgency=medium + + * Update autopkgtest: remove Python 2 test + + -- Sophie Brun Wed, 08 Apr 2020 14:28:57 +0200 + python-cx-oracle (7.1-0kali3) kali-dev; urgency=medium [ Raphaƫl Hertzog ] diff --git a/debian/tests/basic-test.sh b/debian/tests/basic-test.sh index fafd759..518eb75 100755 --- a/debian/tests/basic-test.sh +++ b/debian/tests/basic-test.sh @@ -1,17 +1,6 @@ #!/bin/sh set -e - -test_install_python2() { - - echo "Testing python2 package" - for py in $(pyversions -r 2>/dev/null) ; do - cd "$AUTOPKGTEST_TMP" ; - echo "Testing with $py:" ; - $py -c "import cx_Oracle; print(cx_Oracle)" ; - done - -} test_install_python3() { diff --git a/debian/tests/control b/debian/tests/control index aade480..c2feafc 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,7 +1,3 @@ -Test-Command: debian/tests/basic-test.sh test_install_python2 -Depends: python-cx-oracle +Test-Command: debian/tests/basic-test.sh test_install_python3 +Depends: python3-cx-oracle, python3-all Restrictions: allow-stderr, superficial - -Test-Command: debian/tests/basic-test.sh test_install_python3 -Depends: python3-cx-oracle -Restrictions: allow-stderr, superficial