From 38edd4ed0651e80808006ec4b9c236f53518a8f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 26 Apr 2017 16:27:37 +0200 Subject: [PATCH] dev-python/whelk: Enable tests --- dev-python/whelk/whelk-2.7.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}" +} -- 2.26.2