dev-python/whelk: Enable tests
authorMichał Górny <mgorny@gentoo.org>
Wed, 26 Apr 2017 14:27:37 +0000 (16:27 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 26 Apr 2017 15:26:30 +0000 (17:26 +0200)
dev-python/whelk/whelk-2.7.ebuild

index 71e95a04ed8511ab74bdd1195da181fcf5b940cf..0344e53e72ba8168120d0921b4d235ffdd520491 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,3 +18,7 @@ IUSE=""
 
 DEPEND=""
 RDEPEND="${DEPEND}"
+
+python_test() {
+       "${PYTHON}" -m unittest discover || die "Tests fail with ${EPYTHON}"
+}