[med-svn] [Git][med-team/python-flask-talisman][master] Write autopkgtests

Shayan Doust (@shayan_doust-guest) gitlab at salsa.debian.org
Mon Jun 14 20:05:09 BST 2021



Shayan Doust pushed to branch master at Debian Med / python-flask-talisman


Commits:
5e7ae2e7 by Shayan Doust at 2021-06-14T20:04:58+01:00
Write autopkgtests

- - - - -


1 changed file:

- debian/tests/run-unit-test


Changes:

=====================================
debian/tests/run-unit-test
=====================================
@@ -1,7 +1,7 @@
 #!/bin/bash
 set -e
 
-pkg=#PACKAGENAME#
+pkg=python-flask-talisman
 
 export LC_ALL=C.UTF-8
 if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
@@ -9,8 +9,8 @@ if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
   trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
 fi
 
-cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+cp -a /usr/lib/python3/dist-packages/flask_talisman/talisman_test.py "${AUTOPKGTEST_TMP}"
 
 cd "${AUTOPKGTEST_TMP}"
 
-#do_stuff_to_test_package#
+python3 -m unittest talisman_test.py



View it on GitLab: https://salsa.debian.org/med-team/python-flask-talisman/-/commit/5e7ae2e78cd0fd7ae68f506d30a78a14c871e5ed

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-flask-talisman/-/commit/5e7ae2e78cd0fd7ae68f506d30a78a14c871e5ed
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210614/ecb634c4/attachment.htm>


More information about the debian-med-commit mailing list