commit:     38edd4ed0651e80808006ec4b9c236f53518a8f7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 26 14:27:37 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 26 15:26:30 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38edd4ed

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 71e95a04ed8..0344e53e72b 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}"
+}

Reply via email to