From 6f9ec4d2787244113b680e7267a708f6aa1fc42d Mon Sep 17 00:00:00 2001 From: Dmitry Romanenko Date: Sat, 12 Jan 2019 17:20:40 -0500 Subject: testing/py-mongo: added tests --- testing/py-mongo/APKBUILD | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'testing/py-mongo/APKBUILD') 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 -- cgit v1.2.3