summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-28 21:39:43 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-28 23:27:12 +0200
commit82fd7a9f205be6c78fb3cd4200976b7cc7ad107a (patch)
tree00dc9bd458a97e2142e1101d37f2619d248d6a25 /dev-python/pbkdf2
parentdev-libs/protobuf: Add proxy-maint project to maintainers (diff)
downloadgentoo-82fd7a9f205be6c78fb3cd4200976b7cc7ad107a.tar.gz
gentoo-82fd7a9f205be6c78fb3cd4200976b7cc7ad107a.tar.bz2
gentoo-82fd7a9f205be6c78fb3cd4200976b7cc7ad107a.zip
dev-python/pbkdf2: Enable tests
Diffstat (limited to 'dev-python/pbkdf2')
-rw-r--r--dev-python/pbkdf2/pbkdf2-1.3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/pbkdf2/pbkdf2-1.3.ebuild b/dev-python/pbkdf2/pbkdf2-1.3.ebuild
index 90cf763483da..52221597207f 100644
--- a/dev-python/pbkdf2/pbkdf2-1.3.ebuild
+++ b/dev-python/pbkdf2/pbkdf2-1.3.ebuild
@@ -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}"
+}