aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-mongo/APKBUILD
diff options
context:
space:
mode:
authorDmitry Romanenko <Dmitry@Romanenko.in>2019-01-12 17:20:40 -0500
committerAndy Postnikov <apostnikov@gmail.com>2019-01-15 18:32:20 +0200
commit6f9ec4d2787244113b680e7267a708f6aa1fc42d (patch)
tree7ad0f136f161deba64cd594a7a349f741967bd31 /testing/py-mongo/APKBUILD
parent4cae36ba315751bb62386006458f3c8364723c84 (diff)
downloadaports-6f9ec4d2787244113b680e7267a708f6aa1fc42d.tar.bz2
aports-6f9ec4d2787244113b680e7267a708f6aa1fc42d.tar.xz
testing/py-mongo: added tests
Diffstat (limited to 'testing/py-mongo/APKBUILD')
-rw-r--r--testing/py-mongo/APKBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/py-mongo/APKBUILD b/testing/py-mongo/APKBUILD
index a32e871e53..d85f4ce849 100644
--- a/testing/py-mongo/APKBUILD
+++ b/testing/py-mongo/APKBUILD
@@ -26,6 +26,13 @@ package() {
mkdir -p "$pkgdir"
}
+
+check() {
+ cd "$builddir"
+ python2 setup.py test
+ python3 setup.py test
+}
+
_py2() {
replaces="$pkgname"
_py python2