aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-werkzeug.inc
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2017-11-30 13:18:07 -0500
committerArmin Kuster <akuster808@gmail.com>2017-12-11 07:58:58 -0800
commit857ed16bc8b67cb67fe4b1b11930a1154ea01d6c (patch)
treeaf0b9d7c3fa156f5e90747ca2464bd20f07a1926 /meta-python/recipes-devtools/python/python-werkzeug.inc
parentec5b6dd327abce8065e61c536c80cee1b176a92d (diff)
downloadmeta-openembedded-857ed16bc8b67cb67fe4b1b11930a1154ea01d6c.tar.gz
python-werkzeug: add a test package for the unit and integration tests
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-werkzeug.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-werkzeug.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-werkzeug.inc b/meta-python/recipes-devtools/python/python-werkzeug.inc
index b2949a3d25..e0b524c385 100644
--- a/meta-python/recipes-devtools/python/python-werkzeug.inc
+++ b/meta-python/recipes-devtools/python/python-werkzeug.inc
@@ -17,6 +17,14 @@ PYPI_PACKAGE = "Werkzeug"
CLEANBROKEN = "1"
+PACKAGES =+ "${PN}-tests"
+FILES_${PN}-tests+= " \
+ ${PYTHON_SITEPACKAGES_DIR}/werkzeug/test* \
+ ${PYTHON_SITEPACKAGES_DIR}/werkzeug/__pycache__/test* \
+ ${PYTHON_SITEPACKAGES_DIR}/werkzeug/contrib/test* \
+ ${PYTHON_SITEPACKAGES_DIR}/werkzeug/contrib/__pycache__/test* \
+"
+
RDEPENDS_${PN} += " \
${PYTHON_PN}-datetime \
${PYTHON_PN}-difflib \
@@ -32,3 +40,8 @@ RDEPENDS_${PN} += " \
${PYTHON_PN}-threading \
${PYTHON_PN}-unixadmin \
"
+
+RDEPENDS_${PN}-tests = " \
+ ${PN} \
+ ${PYTHON_PN}-unittest \
+"