aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-16 15:14:22 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-16 15:24:05 +0000
commit0545e0cf2d425a3879dfbec1dfc3efa4eabf5e24 (patch)
tree48385696d2ad148a7ce21e2bda406ec5ab9cfa09
parent822029cc3fefb9628f15c377c693a3a28f1db20a (diff)
downloadports-0545e0cf2d425a3879dfbec1dfc3efa4eabf5e24.tar.gz
ports-0545e0cf2d425a3879dfbec1dfc3efa4eabf5e24.zip
devel/py-moto: Convert to test framework
-rw-r--r--devel/py-moto/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/py-moto/Makefile b/devel/py-moto/Makefile
index c26d2781d617..24269b9c9fcf 100644
--- a/devel/py-moto/Makefile
+++ b/devel/py-moto/Makefile
@@ -26,10 +26,24 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.9.201:www/py-boto3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xmltodict>=0:devel/py-xmltodict@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zipp>=0:devel/py-zipp@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aws-xray-sdk>=0:devel/py-aws-xray-sdk@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}boto>=0:devel/py-boto@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}docker>=0:sysutils/py-docker@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Flask-Cors>=0:www/py-flask-cors@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}freezegun>=0:devel/py-freezegun@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jsondiff>=0:devel/py-jsondiff@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-jose>=0:security/py-python-jose@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sure>=0:devel/py-sure@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+do-test:
+ cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
+
.include <bsd.port.mk>