dev-python/pbkdf2: Enable tests
authorMichał Górny <mgorny@gentoo.org>
Fri, 28 Apr 2017 19:39:43 +0000 (21:39 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 28 Apr 2017 21:27:12 +0000 (23:27 +0200)
dev-python/pbkdf2/pbkdf2-1.3.ebuild

index 90cf763483da19d2e21beba97007e14728745d1a..52221597207ff24f4b3442285ad1332f83b7517b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -15,3 +15,7 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
+
+python_test() {
+       "${PYTHON}" test/test_pbkdf2.py || die "Tests failed with ${EPYTHON}"
+}