From: Michał Górny Date: Wed, 26 Apr 2017 14:27:37 +0000 (+0200) Subject: dev-python/whelk: Enable tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=38edd4ed0651e80808006ec4b9c236f53518a8f7;p=gentoo.git dev-python/whelk: Enable tests --- diff --git a/dev-python/whelk/whelk-2.7.ebuild b/dev-python/whelk/whelk-2.7.ebuild index 71e95a04ed85..0344e53e72ba 100644 --- a/dev-python/whelk/whelk-2.7.ebuild +++ b/dev-python/whelk/whelk-2.7.ebuild @@ -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}" +}